]> git.pld-linux.org Git - packages/squid.git/blob - squid-2.5.STABLE5-vary.patch
- added align patch, release 2.1 for tests
[packages/squid.git] / squid-2.5.STABLE5-vary.patch
1 Index: squid/src/http.c
2 diff -c squid/src/http.c:1.384.2.12 squid/src/http.c:1.384.2.13
3 *** squid/src/http.c:1.384.2.12 Fri Jan 30 16:09:12 2004
4 --- squid/src/http.c    Fri Mar 19 01:56:55 2004
5 ***************
6 *** 348,353 ****
7 --- 348,360 ----
8         char *name = xmalloc(ilen + 1);
9         xstrncpy(name, item, ilen + 1);
10         Tolower(name);
11 +       if (strcmp(name, "*") == 0) {
12 +           /* Can not handle "Vary: *" withtout ETag support */
13 +           safe_free(name);
14 +           stringClean(&vary);
15 +           stringClean(&vstr);
16 +           break;
17 +       }
18         strListAdd(&vstr, name, ',');
19         hdr = httpHeaderGetByName(&request->header, name);
20         safe_free(name);
This page took 0.025934 seconds and 3 git commands to generate.