Mercurial > dropbear
comparison options.h @ 493:6cd2152aae0b idle-timeout
Idle-timeout patch from Farrell Aultman, need to figure whether to only
account DATA packets and whether server->client data makes sense too.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 22 Sep 2008 15:28:52 +0000 |
parents | 2e17f82a7330 |
children |
comparison
equal
deleted
inserted
replaced
492:b956d6151600 | 493:6cd2152aae0b |
---|---|
241 | 241 |
242 /* Ensure that data is transmitted every KEEPALIVE seconds. This can | 242 /* Ensure that data is transmitted every KEEPALIVE seconds. This can |
243 be overridden at runtime with -K. 0 disables keepalives */ | 243 be overridden at runtime with -K. 0 disables keepalives */ |
244 #define DEFAULT_KEEPALIVE 0 | 244 #define DEFAULT_KEEPALIVE 0 |
245 | 245 |
246 /* Ensure that data is received within IDLE_TIMEOUT seconds. This can | |
247 be overridden at runtime with -I. 0 disables idle timeouts */ | |
248 #define DEFAULT_IDLE_TIMEOUT 0 | |
249 | |
246 /******************************************************************* | 250 /******************************************************************* |
247 * You shouldn't edit below here unless you know you need to. | 251 * You shouldn't edit below here unless you know you need to. |
248 *******************************************************************/ | 252 *******************************************************************/ |
249 | 253 |
250 #ifndef DROPBEAR_VERSION | 254 #ifndef DROPBEAR_VERSION |