]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed 'minimum_retry_timeout' and Config.retry.timeout. This
authorwessels <>
Wed, 2 Jul 2003 02:42:27 +0000 (02:42 +0000)
committerwessels <>
Wed, 2 Jul 2003 02:42:27 +0000 (02:42 +0000)
variable has not been used for some time it seems.

src/cache_cf.cc
src/cf.data.pre
src/structs.h

index e966cccfc6ff3058b781ad573066516a56c873ac..98199f0a89049e82dac7c6da300ea1558708e937 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: cache_cf.cc,v 1.443 2003/06/09 05:09:34 robertc Exp $
+ * $Id: cache_cf.cc,v 1.444 2003/07/01 20:42:27 wessels Exp $
  *
  * DEBUG: section 3     Configuration File Parsing
  * AUTHOR: Harvest Derived
@@ -472,9 +472,6 @@ configDoConfigure(void)
     safe_free(debug_options)
     debug_options = xstrdup(Config.debugOptions);
 
-    if (Config.retry.timeout < 5)
-        fatal("minimum_retry_timeout must be at least 5 seconds");
-
     if (Config.retry.maxtries > 10)
         fatal("maximum_single_addr_tries cannot be larger than 10");
 
index c0bc6cf8fab035ab7f11d0efca4902fa931172fb..c19ba96c748c6e5810767b59cf2bc20efd90e436 100644 (file)
@@ -1,6 +1,6 @@
 
 #
-# $Id: cf.data.pre,v 1.326 2003/06/27 22:42:08 hno Exp $
+# $Id: cf.data.pre,v 1.327 2003/07/01 20:42:27 wessels Exp $
 #
 #
 # SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -3377,28 +3377,6 @@ DOC_START
        directory and point this tag at them.
 DOC_END
 
-NAME: minimum_retry_timeout
-COMMENT: (seconds)
-TYPE: time_t
-LOC: Config.retry.timeout
-DEFAULT: 5 seconds
-DOC_START
-       This specifies the minimum connect timeout, for when the
-       connect timeout is reduced to compensate for the availability
-       of multiple IP addresses.
-
-       When a connection to a host is initiated, and that host has
-       several IP addresses, the default connection timeout is reduced
-       by dividing it by the number of addresses.  So, a site with 15
-       addresses would then have a timeout of 8 seconds for each
-       address attempted.  To avoid having the timeout reduced to the
-       point where even a working host would not have a chance to
-       respond, this setting is provided.  The default, and the
-       minimum value, is five seconds, and the maximum value is sixty
-       seconds, or half of connect_timeout, whichever is greater and
-       less than connect_timeout.
-DOC_END
-
 NAME: maximum_single_addr_tries
 TYPE: int
 LOC: Config.retry.maxtries
index 0678e21ba12415a59844763a4f0654c34aab258c..ad999f6dac82ff0677061bebdd6d9f4e02a5252e 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: structs.h,v 1.466 2003/06/27 22:32:31 hno Exp $
+ * $Id: structs.h,v 1.467 2003/07/01 20:42:28 wessels Exp $
  *
  *
  * SQUID Web Proxy Cache          http://www.squid-cache.org/
@@ -630,7 +630,6 @@ struct _SquidConfig
 
     struct
     {
-        time_t timeout;
         int maxtries;
     }