comparison options.h @ 939:a0819ecfee0b

Make -K keepalive behave like OpenSSH's ServerAliveInterval
author Matt Johnston <matt@ucc.asn.au>
date Wed, 09 Jul 2014 00:15:20 +0800
parents 49ed526daedc
children dccaecc68c77
comparison
equal deleted inserted replaced
938:c88dce72f6d2 939:a0819ecfee0b
306 306
307 /* Ensure that data is transmitted every KEEPALIVE seconds. This can 307 /* Ensure that data is transmitted every KEEPALIVE seconds. This can
308 be overridden at runtime with -K. 0 disables keepalives */ 308 be overridden at runtime with -K. 0 disables keepalives */
309 #define DEFAULT_KEEPALIVE 0 309 #define DEFAULT_KEEPALIVE 0
310 310
311 /* If this many KEEPALIVES are sent with no packets received from the
312 other side, exit. Not run-time configurable - if you have a need
313 for runtime configuration please mail the Dropbear list */
314 #define DEFAULT_KEEPALIVE_LIMIT 3
315
311 /* Ensure that data is received within IDLE_TIMEOUT seconds. This can 316 /* Ensure that data is received within IDLE_TIMEOUT seconds. This can
312 be overridden at runtime with -I. 0 disables idle timeouts */ 317 be overridden at runtime with -I. 0 disables idle timeouts */
313 #define DEFAULT_IDLE_TIMEOUT 0 318 #define DEFAULT_IDLE_TIMEOUT 0
314 319
315 /* The default path. This will often get replaced by the shell */ 320 /* The default path. This will often get replaced by the shell */