r2079 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Mon Oct 8 09:18:48 CEST 2007


Author: phk
Date: 2007-10-08 09:18:48 +0200 (Mon, 08 Oct 2007)
New Revision: 2079

Modified:
   trunk/varnish-cache/bin/varnishd/cache_synthetic.c
Log:
Flush the threads shmlog before we try to make up a reponse, so that
we know what transactions trigger problems in that code.



Modified: trunk/varnish-cache/bin/varnishd/cache_synthetic.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_synthetic.c	2007-10-05 09:15:09 UTC (rev 2078)
+++ trunk/varnish-cache/bin/varnishd/cache_synthetic.c	2007-10-08 07:18:48 UTC (rev 2079)
@@ -56,6 +56,7 @@
 	double now;
 	int fd;
 
+	WSL_Flush(sp->wrk);
 	assert(status >= 100 && status <= 999);
 	CHECK_OBJ_NOTNULL(sp, SESS_MAGIC);
 	CHECK_OBJ_NOTNULL(sp->wrk, WORKER_MAGIC);




More information about the varnish-commit mailing list