From 72f34a4557a6b4d6ff383c35a13110bf57dc2288 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 8 Oct 2007 07:18:48 +0000 Subject: [PATCH] Flush the threads shmlog before we try to make up a reponse, so that we know what transactions trigger problems in that code. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2079 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_synthetic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_synthetic.c b/varnish-cache/bin/varnishd/cache_synthetic.c index 863f0023..ce6f8c19 100644 --- a/varnish-cache/bin/varnishd/cache_synthetic.c +++ b/varnish-cache/bin/varnishd/cache_synthetic.c @@ -56,6 +56,7 @@ SYN_ErrorPage(struct sess *sp, int status, const char *reason, int ttl) 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); -- 2.39.5