comparison packet.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 4cab61369879
children f6c999ba31da
comparison
equal deleted inserted replaced
453:29953de278ae 454:7e43f5e473b9
69 return; 69 return;
70 } else { 70 } else {
71 dropbear_exit("error writing"); 71 dropbear_exit("error writing");
72 } 72 }
73 } 73 }
74
75 ses.last_packet_time = time(NULL);
74 76
75 if (written == 0) { 77 if (written == 0) {
76 ses.remoteclosed(); 78 ses.remoteclosed();
77 } 79 }
78 80