diff options
author | des <des@FreeBSD.org> | 2010-11-08 20:06:02 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2010-11-08 20:06:02 +0800 |
commit | c29baa2b8767cd8d971f4ebd2ac6f17c41c78710 (patch) | |
tree | 683bb05a6bd63d3e2faa5fc11c5af181946561a8 /www/varnish | |
parent | f948168a3204bd1d97637893bc2dd19bf04ac6c5 (diff) | |
download | freebsd-ports-gnome-c29baa2b8767cd8d971f4ebd2ac6f17c41c78710.tar.gz freebsd-ports-gnome-c29baa2b8767cd8d971f4ebd2ac6f17c41c78710.tar.zst freebsd-ports-gnome-c29baa2b8767cd8d971f4ebd2ac6f17c41c78710.zip |
Add upstream patch r5461.
Diffstat (limited to 'www/varnish')
-rw-r--r-- | www/varnish/Makefile | 1 | ||||
-rw-r--r-- | www/varnish/files/patch-r5461 | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/www/varnish/Makefile b/www/varnish/Makefile index 18d5e4da5ca2..c279b313c3c4 100644 --- a/www/varnish/Makefile +++ b/www/varnish/Makefile @@ -7,6 +7,7 @@ PORTNAME= varnish PORTVERSION= 2.1.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.varnish-software.com/sites/default/files/ diff --git a/www/varnish/files/patch-r5461 b/www/varnish/files/patch-r5461 new file mode 100644 index 000000000000..6447a2d6d319 --- /dev/null +++ b/www/varnish/files/patch-r5461 @@ -0,0 +1,17 @@ +Index: bin/varnishd/cache_fetch.c +=================================================================== +--- bin/varnishd/cache_fetch.c (revision 5460) ++++ bin/varnishd/cache_fetch.c (revision 5461) +@@ -552,9 +552,11 @@ + assert(uu == sp->obj->len); + } + +- if (mklen > 0) ++ if (mklen > 0) { ++ http_Unset(sp->obj->http, H_Content_Length); + http_PrintfHeader(sp->wrk, sp->fd, sp->obj->http, + "Content-Length: %u", sp->obj->len); ++ } + + if (http_HdrIs(hp, H_Connection, "close")) + cls = 1; |