]> err.no Git - varnish/commitdiff
I belive this fixes the ESI issue that JT Justman has reported.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 22:25:58 +0000 (22:25 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 30 May 2008 22:25:58 +0000 (22:25 +0000)
(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

index 1f859c214a75a39cd429a5839e36f6c9fdc86622..9732d97a490c27e79e1b12489083d527336b2e8f 100644 (file)
@@ -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) {