1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Upgrade to 2.1.5.

This commit is contained in:
Dag-Erling Smørgrav 2011-02-17 10:32:10 +00:00
parent 2c55a5a9fa
commit cd153d9373
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=269274
6 changed files with 8 additions and 46 deletions

View File

@ -6,10 +6,9 @@
#
PORTNAME= varnish
PORTVERSION= 2.1.4
PORTREVISION= 1
PORTVERSION= 2.1.5
CATEGORIES= www
MASTER_SITES= http://www.varnish-software.com/sites/default/files/
MASTER_SITES= http://repo.varnish-cache.org/source/
MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator

View File

@ -1,3 +1,2 @@
MD5 (varnish-2.1.4.tar.gz) = e794a37b6fbb786a083c0946103ae103
SHA256 (varnish-2.1.4.tar.gz) = 474913110458fd0989a5cddf8f67011fc1d20bb1cd61e85cbef99147acb6ac8e
SIZE (varnish-2.1.4.tar.gz) = 1539241
SHA256 (varnish-2.1.5.tar.gz) = 2d8049be14ada035d0e3a54c2b519143af40d03d917763cf72d53d8188e5ef83
SIZE (varnish-2.1.5.tar.gz) = 1530856

View File

@ -1,17 +0,0 @@
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;

View File

@ -6,10 +6,9 @@
#
PORTNAME= varnish
PORTVERSION= 2.1.4
PORTREVISION= 1
PORTVERSION= 2.1.5
CATEGORIES= www
MASTER_SITES= http://www.varnish-software.com/sites/default/files/
MASTER_SITES= http://repo.varnish-cache.org/source/
MAINTAINER= des@FreeBSD.org
COMMENT= The Varnish high-performance HTTP accelerator

View File

@ -1,3 +1,2 @@
MD5 (varnish-2.1.4.tar.gz) = e794a37b6fbb786a083c0946103ae103
SHA256 (varnish-2.1.4.tar.gz) = 474913110458fd0989a5cddf8f67011fc1d20bb1cd61e85cbef99147acb6ac8e
SIZE (varnish-2.1.4.tar.gz) = 1539241
SHA256 (varnish-2.1.5.tar.gz) = 2d8049be14ada035d0e3a54c2b519143af40d03d917763cf72d53d8188e5ef83
SIZE (varnish-2.1.5.tar.gz) = 1530856

View File

@ -1,17 +0,0 @@
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;