From: phk Date: Tue, 14 Oct 2008 20:28:26 +0000 (+0000) Subject: Checkpoint the shmlog before we wait for a reply from the backend. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70e530b24e9f24f4e90c36b82dc11d1a40927704;p=varnish Checkpoint the shmlog before we wait for a reply from the backend. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3296 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_fetch.c b/varnish-cache/bin/varnishd/cache_fetch.c index 4e30ecf0..ab273c45 100644 --- a/varnish-cache/bin/varnishd/cache_fetch.c +++ b/varnish-cache/bin/varnishd/cache_fetch.c @@ -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++;