]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Adjust default pconn timeouts to avoid shutting down connection while child sends...
authorhno <>
Mon, 3 Sep 2007 10:35:05 +0000 (10:35 +0000)
committerhno <>
Mon, 3 Sep 2007 10:35:05 +0000 (10:35 +0000)
The default pconn_timeout / persistent_request_timeout values was selected
a bit unfortunate. persistent_request_timeout should be bigger than
pconn_timeout, or we may risk closing the connection while a child sends
the next request.

src/cf.data.pre

index c419da66595e0af1d8abd8f4ed182a4f5e2e0ff2..ec62d09252d873ad62d804fa65a0b14726d33bd5 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.463 2007/08/30 13:03:42 hno Exp $
+# $Id: cf.data.pre,v 1.464 2007/09/03 04:35:05 hno Exp $
 #
 # SQUID Web Proxy Cache                http://www.squid-cache.org/
 # ----------------------------------------------------------
@@ -2540,7 +2540,7 @@ DOC_END
 NAME: persistent_request_timeout
 TYPE: time_t
 LOC: Config.Timeout.persistent_request
-DEFAULT: 1 minute
+DEFAULT: 2 minutes
 DOC_START
        How long to wait for the next HTTP request on a persistent
        connection after the previous request completes.
@@ -2586,7 +2586,7 @@ DOC_END
 NAME: pconn_timeout
 TYPE: time_t
 LOC: Config.Timeout.pconn
-DEFAULT: 120 seconds
+DEFAULT: 1 minute
 DOC_START
        Timeout for idle persistent connections to servers and other
        proxies.