From dc5cea5266dd6fa46a419360a7ed758d17d40f77 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 13 Aug 2008 06:54:14 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_vrt_esi.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5