]> granicus.if.org Git - apache/commitdiff
Fix default Timeout & KeepaliveTimeout. Still need to limit directive
authorAllan K. Edwards <ake@apache.org>
Fri, 1 Sep 2000 14:47:20 +0000 (14:47 +0000)
committerAllan K. Edwards <ake@apache.org>
Fri, 1 Sep 2000 14:47:20 +0000 (14:47 +0000)
values to prevent integer microsecond overflow.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86168 13f79535-47bb-0310-9956-ffa450edef68

include/httpd.h

index 45c562f79055a6f65d339e928905d2a3f4fb6ff7..81551f41885e0d271dfb374f5626d44ba0f280c9 100644 (file)
@@ -203,12 +203,12 @@ extern "C" {
 
 /* 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 */