]> err.no Git - varnish/commitdiff
Remove If-Modified-Since headers on included objects to get consistent
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Aug 2008 06:54:14 +0000 (06:54 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 13 Aug 2008 06:54:14 +0000 (06:54 +0000)
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

index e5da1fc557eba238c846a44f7473c59b2285470a..e8113296e16628ef21a73799993c17e1e9b3660a 100644 (file)
@@ -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;