]> err.no Git - varnish/commitdiff
Flush the threads shmlog before we try to make up a reponse, so that
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 8 Oct 2007 07:18:48 +0000 (07:18 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 8 Oct 2007 07:18:48 +0000 (07:18 +0000)
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

index 863f0023db8243b6b09fab1250db7ade4f6e1e27..ce6f8c19a9dd29ae422eaabe1e93b601e9fdcdf1 100644 (file)
@@ -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);