From: phk Date: Mon, 8 Oct 2007 07:18:48 +0000 (+0000) Subject: Flush the threads shmlog before we try to make up a reponse, so that X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f34a4557a6b4d6ff383c35a13110bf57dc2288;p=varnish 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 --- 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);