Mailing List Archive

cvs commit: apache-2.0/src/include httpd.h
ake 00/09/01 07:47:21

Modified: src/include httpd.h
Log:
Fix default Timeout & KeepaliveTimeout. Still need to limit directive
values to prevent integer microsecond overflow.

Revision Changes Path
1.83 +2 -2 apache-2.0/src/include/httpd.h

Index: httpd.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/include/httpd.h,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- httpd.h 2000/08/21 19:26:36 1.82
+++ httpd.h 2000/09/01 14:47:20 1.83
@@ -203,12 +203,12 @@

/* The timeout for waiting for messages */
#ifndef DEFAULT_TIMEOUT
-#define DEFAULT_TIMEOUT 120000
+#define DEFAULT_TIMEOUT 300
#endif

/* The timeout for waiting for keepalive timeout until next request */
#ifndef DEFAULT_KEEPALIVE_TIMEOUT
-#define DEFAULT_KEEPALIVE_TIMEOUT 300
+#define DEFAULT_KEEPALIVE_TIMEOUT 15
#endif

/* The number of requests to entertain per connection */