Commit 97b7b326 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

We need to reset the worker threads workspace between requests if

we short-cut through STP_AGAIN.

Expected to fix #487



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4075 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ba8c5725
......@@ -97,6 +97,7 @@ cnt_again(struct sess *sp)
AZ(sp->obj);
assert(sp->xid == 0);
WS_Reset(sp->wrk->ws, NULL);
i = HTC_Complete(sp->htc);
while (i == 0)
i = HTC_Rx(sp->htc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment