V4.1 HTTP/1.0 responses without Content-Length header results in empty response

Tom Anheyer Tom.Anheyer at Berlinonline.de
Wed Dec 9 11:55:16 CET 2015


An old perl LWP script uses HTTP/1.0 posts to an apache backend. The 
generated backend response has no Content-Length header. Varnish 4.1.0 
doesn't read the body (got a read error) and delivers a "Content-Length: 
0"  response back to the script. I know - http/1.0 its old and 
should/must be avoided and the problems are gone after updating the 
script to use http/1.1.

But is this varnish behavior correct?

best regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4266 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20151209/426dd969/attachment.bin>

More information about the varnish-misc mailing list