#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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
-----------------------------+--------------------
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
_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs