]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE4-fqdnnegcache.patch
- fix for TCP connection closing after blank HTTP response
[packages/squid.git] / squid-2.5.STABLE4-fqdnnegcache.patch
1 Index: squid/src/fqdncache.c
2 diff -c squid/src/fqdncache.c:1.149 squid/src/fqdncache.c:1.149.2.1
3 *** squid/src/fqdncache.c:1.149 Wed Oct 24 00:16:16 2001
4 --- squid/src/fqdncache.c       Sat Oct 11 16:32:31 2003
5 ***************
6 *** 278,284 ****
7       int k;
8       int na = 0;
9       memset(&f, '\0', sizeof(f));
10 !     f.expires = squid_curtime;
11       f.flags.negcached = 1;
12       if (nr < 0) {
13         debug(35, 3) ("fqdncacheParse: Lookup failed (error %d)\n",
14 --- 278,284 ----
15       int k;
16       int na = 0;
17       memset(&f, '\0', sizeof(f));
18 !     f.expires = squid_curtime + Config.negativeDnsTtl;
19       f.flags.negcached = 1;
20       if (nr < 0) {
21         debug(35, 3) ("fqdncacheParse: Lookup failed (error %d)\n",
This page took 0.035781 seconds and 3 git commands to generate.