|
|
|
|
@ -1,19 +1,3 @@
|
|
|
|
|
Index: bin/varnishd/cache_fetch.c
|
|
|
|
|
--- bin/varnishd/cache_fetch.c.orig 2010-10-21 10:57:22.000000000 +0200
|
|
|
|
|
+++ bin/varnishd/cache_fetch.c 2010-12-12 12:52:59.000000000 +0100
|
|
|
|
|
@@ -554,9 +554,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;
|
|
|
|
|
Index: bin/varnishd/common.h
|
|
|
|
|
--- bin/varnishd/common.h.orig 2010-10-21 10:57:22.000000000 +0200
|
|
|
|
|
+++ bin/varnishd/common.h 2010-12-12 12:52:59.000000000 +0100
|
|
|
|
|
|