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

Remember to set the REQ_DONE state when we unset the bereq.body;

Found by:	fgs & ASAN
parent 7cfe66d4
......@@ -499,6 +499,8 @@ VRT_u_bereq_body(VRT_CTX)
if (ctx->bo->req != NULL) {
CHECK_OBJ_NOTNULL(ctx->bo->req, REQ_MAGIC);
ctx->bo->req = NULL;
ObjSetState(ctx->bo->wrk,
ctx->bo->fetch_objcore, BOS_REQ_DONE);
http_Unset(ctx->bo->bereq, H_Content_Length);
}
}
......
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