r3296 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Oct 14 22:28:27 CEST 2008


Author: phk
Date: 2008-10-14 22:28:26 +0200 (Tue, 14 Oct 2008)
New Revision: 3296

Modified:
   trunk/varnish-cache/bin/varnishd/cache_fetch.c
Log:
Checkpoint the shmlog before we wait for a reply from the backend.



Modified: trunk/varnish-cache/bin/varnishd/cache_fetch.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_fetch.c	2008-10-14 09:16:33 UTC (rev 3295)
+++ trunk/varnish-cache/bin/varnishd/cache_fetch.c	2008-10-14 20:28:26 UTC (rev 3296)
@@ -362,6 +362,9 @@
 		return (__LINE__);
 	}
 
+	/* Checkpoint the shmlog here */
+	WSL_Flush(w, 0);
+
 	/* XXX is this the right place? */
 	VSL_stats->backend_req++;
 




More information about the varnish-commit mailing list