summaryrefslogtreecommitdiffstats
path: root/main/squid/squid-2.7-ims-content-type.patch
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-10-07 10:33:07 +0300
committerTimo Teras <timo.teras@iki.fi>2009-10-07 10:33:07 +0300
commitc447b3590d5fb3500e9ee67936893091cf1d565a (patch)
treeae2e9274bb9b60f6470055e1792f9a8ba985ad31 /main/squid/squid-2.7-ims-content-type.patch
parentc6f2744c00f1c1061bbae6ad13c64c478cf20d17 (diff)
downloadaports-c447b3590d5fb3500e9ee67936893091cf1d565a.tar.bz2
aports-c447b3590d5fb3500e9ee67936893091cf1d565a.tar.xz
main/squid: update to 2.7.STABLE7
additionally add a patch that prevents modification of Content-Type header on If-Modified-Since request 304 replies. RFC says those replies are invalid, but some broken servers return bogus data anyway, so ignoring the reply fixes some issues.
Diffstat (limited to 'main/squid/squid-2.7-ims-content-type.patch')
-rw-r--r--main/squid/squid-2.7-ims-content-type.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/squid/squid-2.7-ims-content-type.patch b/main/squid/squid-2.7-ims-content-type.patch
new file mode 100644
index 000000000..8b66197e7
--- /dev/null
+++ b/main/squid/squid-2.7-ims-content-type.patch
@@ -0,0 +1,11 @@
+--- a/src/HttpReply.c.orig Wed Oct 7 07:08:08 2009
++++ b/src/HttpReply.c Wed Oct 7 07:08:20 2009
+@@ -43,7 +43,7 @@
+ static http_hdr_type Denied304HeadersArr[] =
+ {
+ HDR_CONTENT_ENCODING, HDR_CONTENT_LANGUAGE, HDR_CONTENT_LENGTH,
+- HDR_CONTENT_LOCATION, HDR_CONTENT_RANGE
++ HDR_CONTENT_LOCATION, HDR_CONTENT_RANGE, HDR_CONTENT_TYPE
+ };
+
+ /* local routines */