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

Connection: is now firmly a HTTP1 thing.

parent fac6316c
......@@ -592,8 +592,6 @@ cnt_recv(struct worker *wrk, struct req *req)
}
}
req->doclose = http_DoConnection(req->http);
/* By default we use the first backend */
AZ(req->director_hint);
req->director_hint = req->vcl->director[0];
......
......@@ -303,6 +303,8 @@ http1_dissect(struct worker *wrk, struct req *req)
AZ(req->err_code);
req->ws_req = WS_Snapshot(req->ws);
req->doclose = http_DoConnection(req->http);
assert(req->req_body_status != REQ_BODY_INIT);
HTTP_Copy(req->http0, req->http); // For ESI & restart
......
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