Commit f32344aa authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

I belive this fixes the ESI issue that JT Justman has reported.

(no ticket)



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2643 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent d3badb52
...@@ -234,7 +234,6 @@ cnt_done(struct sess *sp) ...@@ -234,7 +234,6 @@ cnt_done(struct sess *sp)
sp->xid = 0; sp->xid = 0;
SES_Charge(sp); SES_Charge(sp);
sp->t_open = sp->t_end; sp->t_open = sp->t_end;
sp->t_req = NAN;
sp->t_resp = NAN; sp->t_resp = NAN;
WSL_Flush(sp->wrk, 0); WSL_Flush(sp->wrk, 0);
...@@ -242,6 +241,8 @@ cnt_done(struct sess *sp) ...@@ -242,6 +241,8 @@ cnt_done(struct sess *sp)
if (sp->esis > 0) if (sp->esis > 0)
return (1); return (1);
sp->t_req = NAN;
if (sp->fd >= 0 && sp->doclose != NULL) if (sp->fd >= 0 && sp->doclose != NULL)
vca_close_session(sp, sp->doclose); vca_close_session(sp, sp->doclose);
if (sp->fd < 0) { if (sp->fd < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment