]> git.pld-linux.org Git - packages/squid.git/blame - squid-2.5.STABLE4-fqdnnegcache.patch
- SEGV fix
[packages/squid.git] / squid-2.5.STABLE4-fqdnnegcache.patch
CommitLineData
58934a46
AM
1Index: squid/src/fqdncache.c
2diff -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.120973 seconds and 4 git commands to generate.