From 70e530b24e9f24f4e90c36b82dc11d1a40927704 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 14 Oct 2008 20:28:26 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_fetch.c | 3 +++ 1 file changed, 3 insertions(+) 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++; -- 2.39.5