- Add -K keepalive flag for dropbear and dbclient

- Try to reduce the frequency of select() timeouts
- Add a max receive window size of 1MB

--HG--
extra : convert_revision : 9aa22036cb511cddb35fbc0e09ad05acb39b64d1
This commit is contained in:
Matt Johnston
2007-08-08 15:12:06 +00:00
parent a7649c250f
commit 75ec4d6510
16 changed files with 109 additions and 48 deletions

View File

@@ -71,6 +71,8 @@ void write_packet() {
dropbear_exit("error writing");
}
}
ses.last_packet_time = time(NULL);
if (written == 0) {
ses.remoteclosed();