]> err.no Git - varnish/commitdiff
Checkpoint the shmlog before we wait for a reply from the backend.
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 14 Oct 2008 20:28:26 +0000 (20:28 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 14 Oct 2008 20:28:26 +0000 (20:28 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3296 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_fetch.c

index 4e30ecf0361c8e1f0f1e9dca6039f35cec8be9e3..ab273c456b3189f7f32991f4250c902fa42edc70 100644 (file)
@@ -362,6 +362,9 @@ Fetch(struct sess *sp)
                return (__LINE__);
        }
 
+       /* Checkpoint the shmlog here */
+       WSL_Flush(w, 0);
+
        /* XXX is this the right place? */
        VSL_stats->backend_req++;