Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Varnish send Transfer-Encoding and Content-Length header to backend, if POST request with HTTP/2. #2247
Send either "Transfer-Encoding: chunked" or "Content-Length".
Varnish send content-length and transfer-encoding header.
Not append "Transfer-Encoding: chunked", if have Content-Length.
Steps to Reproduce (for bugs)
See the Current Behavior above.
Some middle-ware(varnish...) can't process request.(400 Bad Request)
My backend receives what I assume is transfer encoding 'junk' for POST requests over HTTP2. POST requests from web browsers fail, but
The output from Varnishlog is the same as xcir's.
Hitch 1.4.4 + Varnish 5.1.1.