]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE3-minimum_retry_timeout.patch
- updated to 2.5.STABLE13
[packages/squid.git] / squid-2.5.STABLE3-minimum_retry_timeout.patch
1 Index: squid/src/cache_cf.c
2 diff -c squid/src/cache_cf.c:1.396.2.13 squid/src/cache_cf.c:1.396.2.14
3 *** squid/src/cache_cf.c:1.396.2.13     Wed Feb  5 22:01:07 2003
4 --- squid/src/cache_cf.c        Tue Jul  1 14:42:41 2003
5 ***************
6 *** 350,357 ****
7         Config.appendDomainLen = 0;
8       safe_free(debug_options)
9         debug_options = xstrdup(Config.debugOptions);
10 -     if (Config.retry.timeout < 5)
11 -       fatal("minimum_retry_timeout must be at least 5 seconds");
12       if (Config.retry.maxtries > 10)
13         fatal("maximum_single_addr_tries cannot be larger than 10");
14       if (Config.retry.maxtries < 1) {
15 --- 350,355 ----
16 Index: squid/src/cf.data.pre
17 diff -c squid/src/cf.data.pre:1.245.2.46 squid/src/cf.data.pre:1.245.2.47
18 *** squid/src/cf.data.pre:1.245.2.46    Thu Jun 19 15:29:48 2003
19 --- squid/src/cf.data.pre       Tue Jul  1 14:42:41 2003
20 ***************
21 *** 3086,3113 ****
22         directory and point this tag at them.
23   DOC_END
24   
25 - NAME: minimum_retry_timeout
26 - COMMENT: (seconds)
27 - TYPE: time_t
28 - LOC: Config.retry.timeout
29 - DEFAULT: 5 seconds
30 - DOC_START
31 -       This specifies the minimum connect timeout, for when the
32 -       connect timeout is reduced to compensate for the availability
33 -       of multiple IP addresses.
34
35 -       When a connection to a host is initiated, and that host has
36 -       several IP addresses, the default connection timeout is reduced
37 -       by dividing it by the number of addresses.  So, a site with 15
38 -       addresses would then have a timeout of 8 seconds for each
39 -       address attempted.  To avoid having the timeout reduced to the
40 -       point where even a working host would not have a chance to
41 -       respond, this setting is provided.  The default, and the
42 -       minimum value, is five seconds, and the maximum value is sixty
43 -       seconds, or half of connect_timeout, whichever is greater and
44 -       less than connect_timeout.
45 - DOC_END
46
47   NAME: maximum_single_addr_tries
48   TYPE: int
49   LOC: Config.retry.maxtries
50 --- 3086,3091 ----
51 Index: squid/src/structs.h
52 diff -c squid/src/structs.h:1.408.2.11 squid/src/structs.h:1.408.2.12
53 *** squid/src/structs.h:1.408.2.11      Sat May 10 16:17:44 2003
54 --- squid/src/structs.h Tue Jul  1 14:42:42 2003
55 ***************
56 *** 638,644 ****
57       } icons;
58       char *errorDirectory;
59       struct {
60 -       time_t timeout;
61         int maxtries;
62       } retry;
63       struct {
64 --- 638,643 ----
This page took 0.083314 seconds and 3 git commands to generate.