From: phk Date: Wed, 13 Aug 2008 06:54:14 +0000 (+0000) Subject: Remove If-Modified-Since headers on included objects to get consistent X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc5cea5266dd6fa46a419360a7ed758d17d40f77;p=varnish Remove If-Modified-Since headers on included objects to get consistent behaviour. Submitted by: sky (ticket 267) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3091 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_vrt_esi.c b/varnish-cache/bin/varnishd/cache_vrt_esi.c index e5da1fc5..e8113296 100644 --- a/varnish-cache/bin/varnishd/cache_vrt_esi.c +++ b/varnish-cache/bin/varnishd/cache_vrt_esi.c @@ -809,6 +809,7 @@ ESI_Deliver(struct sess *sp) 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;