[Varnish] #1783: POST with empty body and absent content-length returns 503

Varnish varnish-bugs at varnish-cache.org
Thu Sep 3 15:51:14 CEST 2015


#1783: POST with empty body and absent content-length returns 503
-----------------------------+--------------------
 Reporter:  fascinatedcow    |       Type:  defect
   Status:  new              |   Priority:  normal
Milestone:  Varnish 4.1-TP1  |  Component:  build
  Version:  4.1.0-TP1        |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------
 Hi,

 I think I have found a bug in 4.1.0-tp1.

 As per subject, if I POST without specifying a body and without setting a
 content-length header, I'm getting "503 Backend fetch failed" from
 varnish, after a few seconds pause. I can see that varnish is sending the
 request to the backend and getting a response back. I'm using curl like
 so:


 {{{
 curl -v -XPOST http://<ip>/ -H 'Host: <hostname>'
 }}}


 This doesn't happen with varnish 3 or 4.0.3.

 Please let me know if you need more information.

 Regards,

 Matt

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1783>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list