r2643 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Sat May 31 00:25:58 CEST 2008


Author: phk
Date: 2008-05-31 00:25:58 +0200 (Sat, 31 May 2008)
New Revision: 2643

Modified:
   trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
I belive this fixes the ESI issue that JT Justman has reported.

(no ticket)



Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c	2008-05-30 22:18:26 UTC (rev 2642)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c	2008-05-30 22:25:58 UTC (rev 2643)
@@ -234,7 +234,6 @@
 	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 @@
 	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) {




More information about the varnish-commit mailing list