Commit 503a6430 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Move the responsibility for conclusively deciding beresp->body_status

to the VDIR.
parent 5fbe576f
......@@ -304,7 +304,6 @@ vbf_stp_startfetch(struct worker *wrk, struct busyobj *bo)
http_VSL_log(bo->beresp);
RFC2616_Response_Body(wrk, bo);
if (bo->htc->body_status == BS_ERROR) {
bo->htc->doclose = SC_RX_BODY;
VDI_Finish(bo->wrk, bo);
......
......@@ -201,6 +201,7 @@ V1F_FetchRespHdr(struct busyobj *bo)
}
htc->doclose = http_DoConnection(hp);
RFC2616_Response_Body(bo->wrk, bo);
return (0);
}
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