Clear Transfer-Encoding for ESI subrequests

While, before this change, subrequests would see the Transfer-Encoding
on the client side, I could not find a case where this caused any harm,
so this change, presumably, is only to prevent potential future issues.
parent e0c8a524
......@@ -174,6 +174,7 @@ ved_include(struct req *preq, const char *src, const char *host,
/* Client content already taken care of */
http_Unset(req->http, H_Content_Length);
http_Unset(req->http, H_Transfer_Encoding);
req->req_body_status = BS_NONE;
AZ(req->vcl);
......
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