httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject [PATCH] lower default timeouts
Date Sun, 16 Feb 1997 07:50:51 GMT
5 minutes is still larger than strictly needed if everything handles the
timeout correctly, but some things still don't so I think 5 minutes is a
good compromise.  I don't see any reason for leaving 1200 in httpd.h.

Index: conf/httpd.conf-dist
===================================================================
RCS file: /export/home/cvs/apache/conf/httpd.conf-dist,v
retrieving revision 1.10
diff -c -r1.10 httpd.conf-dist
*** httpd.conf-dist	1997/01/26 01:19:14	1.10
--- httpd.conf-dist	1997/02/16 07:49:07
***************
*** 87,95 ****
  #CacheNegotiatedDocs
  
  # Timeout: The number of seconds before receives and sends time out
- #  n.b. the compiled default is 1200 (20 minutes !)
  
! Timeout 400
  
  # KeepAlive: Whether or not to allow persistent connections (more than
  # one request per connection). Set to "Off" to deactivate.
--- 87,94 ----
  #CacheNegotiatedDocs
  
  # Timeout: The number of seconds before receives and sends time out
  
! Timeout 300
  
  # KeepAlive: Whether or not to allow persistent connections (more than
  # one request per connection). Set to "Off" to deactivate.
Index: src/httpd.h
===================================================================
RCS file: /export/home/cvs/apache/src/httpd.h,v
retrieving revision 1.85
diff -c -r1.85 httpd.h
*** httpd.h	1997/01/27 00:25:51	1.85
--- httpd.h	1997/02/16 07:49:09
***************
*** 181,187 ****
  #define HUGE_STRING_LEN 8192
  
  /* The timeout for waiting for messages */
! #define DEFAULT_TIMEOUT 1200
  
  /* The timeout for waiting for keepalive timeout until next request */
  #define DEFAULT_KEEPALIVE_TIMEOUT 15
--- 181,187 ----
  #define HUGE_STRING_LEN 8192
  
  /* The timeout for waiting for messages */
! #define DEFAULT_TIMEOUT 300
  
  /* The timeout for waiting for keepalive timeout until next request */
  #define DEFAULT_KEEPALIVE_TIMEOUT 15


Mime
View raw message