[Varnish] #1506: Backend replies with 'Content-Length' but varnish 4.0 discards and replies with 'Transfer-Encoding: chunked'
Varnish
varnish-bugs at varnish-cache.org
Thu May 15 09:30:58 CEST 2014
#1506: Backend replies with 'Content-Length' but varnish 4.0 discards and replies
with 'Transfer-Encoding: chunked'
--------------------------+----------------------------------
Reporter: DonMacAskill | Owner: slink
Type: defect | Status: assigned
Priority: normal | Milestone: Varnish 4.0 release
Component: build | Version: 4.0.0
Severity: critical | Resolution:
Keywords: |
--------------------------+----------------------------------
Changes (by slink):
* owner: => slink
* status: new => assigned
Comment:
This bug is in the gray area between bug and improvement as http/1.1
clients MUST support chunked encoding:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1
The workaround for this issue is to disable streaming, see
http://stackoverflow.com/questions/23643233/how-do-i-disable-transfer-
encoding-chunked-encoding-in-varnish
I think we might be able to use C-L also with streaming. I am working on
this and got a poc patch, which needs more work still before I'd like to
discuss it.
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1506#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list