From f09154a3716fbd66798e24e6ef2aa1673a55e62d Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 30 May 2008 22:25:58 +0000 Subject: [PATCH] I belive this fixes the ESI issue that JT Justman has reported. (no ticket) git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2643 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_center.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 1f859c21..9732d97a 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -234,7 +234,6 @@ cnt_done(struct sess *sp) sp->xid = 0; SES_Charge(sp); sp->t_open = sp->t_end; - sp->t_req = NAN; sp->t_resp = NAN; WSL_Flush(sp->wrk, 0); @@ -242,6 +241,8 @@ cnt_done(struct sess *sp) if (sp->esis > 0) return (1); + sp->t_req = NAN; + if (sp->fd >= 0 && sp->doclose != NULL) vca_close_session(sp, sp->doclose); if (sp->fd < 0) { -- 2.39.5