Commit d63efb1a authored by Federico G. Schwindt's avatar Federico G. Schwindt Committed by Martin Blix Grydeland

Correctly initialize esi-included req->http0

Merge from VC master commit ea251504.
parent c58e98d6
......@@ -70,10 +70,11 @@ ved_include(struct req *preq, const char *src, const char *host)
HTTP_Copy(req->http0, preq->http0);
req->http0->ws = req->ws;
req->http0->vsl = req->vsl;
req->http0->logtag = SLT_ReqMethod;
req->http0->conds = 0;
HTTP_Setup(req->http, req->ws, req->vsl, SLT_ReqMethod);
http_SetH(req->http0, HTTP_HDR_URL, src);
if (host != NULL && *host != '\0') {
http_Unset(req->http0, H_Host);
......
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