Commit 217aa7e8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Reset the objects length to zero after we zapped all its component

parts, otherwise we will get trouble (#167 ?) later.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2275 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4763365d
......@@ -395,6 +395,7 @@ Fetch(struct sess *sp)
}
VBE_UpdateHealth(sp, vc, -4);
VBE_ClosedFd(sp->wrk, vc);
sp->obj->len = 0;
return (__LINE__);
}
......
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