Commit b90a86fd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Remember to clear sp->vbc


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@605 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0482c276
...@@ -147,6 +147,7 @@ PassBody(struct sess *sp) ...@@ -147,6 +147,7 @@ PassBody(struct sess *sp)
vc = sp->vbc; vc = sp->vbc;
assert(vc != NULL); assert(vc != NULL);
sp->vbc = NULL;
http_ClrHeader(sp->http); http_ClrHeader(sp->http);
http_CopyResp(sp->fd, sp->http, vc->http); http_CopyResp(sp->fd, sp->http, vc->http);
...@@ -209,5 +210,6 @@ PassSession(struct sess *sp) ...@@ -209,5 +210,6 @@ PassSession(struct sess *sp)
assert(i == 0); assert(i == 0);
http_DissectResponse(vc->http, vc->fd); http_DissectResponse(vc->http, vc->fd);
assert(sp->vbc == NULL);
sp->vbc = vc; sp->vbc = vc;
} }
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