[Varnish] #1612: Bug with Transfer-Encoding and zero-byte chunks (and keep-alive)

Varnish varnish-bugs at varnish-cache.org
Mon Oct 20 17:38:53 CEST 2014


#1612: Bug with Transfer-Encoding and zero-byte chunks (and keep-alive)
----------------------+--------------------
 Reporter:  zviratko  |       Owner:
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:
Component:  varnishd  |     Version:  4.0.1
 Severity:  normal    |  Resolution:
 Keywords:            |
----------------------+--------------------

Comment (by daghf):

 I'm able to reproduce this, when

 a. The request is handled as a pass, and
 b. the backend responds with an empty chunked response (just the 0 chunk),

 Varnish fails to specify a content-length or a transfer encoding in the
 response, thus breaking keep-alive.

 vtc test case attached.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1612#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list