r3091 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Wed Aug 13 08:54:14 CEST 2008
Author: phk
Date: 2008-08-13 08:54:14 +0200 (Wed, 13 Aug 2008)
New Revision: 3091
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
Log:
Remove If-Modified-Since headers on included objects to get consistent
behaviour.
Submitted by: sky (ticket 267)
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-08-13 06:14:25 UTC (rev 3090)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt_esi.c 2008-08-13 06:54:14 UTC (rev 3091)
@@ -809,6 +809,7 @@
http_SetH(sp->http, HTTP_HDR_URL, eb->include.b);
if (eb->host.b != NULL) {
http_Unset(sp->http, H_Host);
+ http_Unset(sp->http, H_If_Modified_Since);
http_SetHeader(sp->wrk, sp->fd, sp->http, eb->host.b);
}
sp->step = STP_RECV;
More information about the varnish-commit
mailing list