Return to clientloop.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.209, 2009/02/12 03:00:56 | version 1.210, 2009/05/25 06:48:01 | ||
---|---|---|---|
|
|
||
xfree(gc); | xfree(gc); | ||
} | } | ||
keep_alive_timeouts = 0; | packet_set_alive_timeouts(0); | ||
} | } | ||
static void | static void | ||
server_alive_check(void) | server_alive_check(void) | ||
{ | { | ||
if (++keep_alive_timeouts > options.server_alive_count_max) { | if (packet_inc_alive_timeouts() > options.server_alive_count_max) { | ||
logit("Timeout, server not responding."); | logit("Timeout, server not responding."); | ||
cleanup_exit(255); | cleanup_exit(255); | ||
} | } |