diff 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
line wrap: on
line diff
--- a/options.h	Mon Sep 22 14:13:44 2008 +0000
+++ b/options.h	Mon Sep 22 15:28:52 2008 +0000
@@ -243,6 +243,10 @@
 be overridden at runtime with -K. 0 disables keepalives */
 #define DEFAULT_KEEPALIVE 0
 
+/* Ensure that data is received within IDLE_TIMEOUT seconds. This can
+be overridden at runtime with -I. 0 disables idle timeouts */
+#define DEFAULT_IDLE_TIMEOUT 0
+
 /*******************************************************************
  * You shouldn't edit below here unless you know you need to.
  *******************************************************************/