comparison svr-auth.c @ 454:7e43f5e473b9

- Add -K keepalive flag for dropbear and dbclient - Try to reduce the frequency of select() timeouts - Add a max receive window size of 1MB
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Aug 2007 15:12:06 +0000
parents baea1d43e7eb
children 4317be8b7cf9
comparison
equal deleted inserted replaced
453:29953de278ae 454:7e43f5e473b9
355 355
356 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_SUCCESS); 356 buf_putbyte(ses.writepayload, SSH_MSG_USERAUTH_SUCCESS);
357 encrypt_packet(); 357 encrypt_packet();
358 358
359 ses.authstate.authdone = 1; 359 ses.authstate.authdone = 1;
360 ses.connecttimeout = 0; 360 ses.connect_time = 0;
361 361
362 362
363 if (ses.authstate.pw->pw_uid == 0) { 363 if (ses.authstate.pw->pw_uid == 0) {
364 ses.allowprivport = 1; 364 ses.allowprivport = 1;
365 } 365 }