[Varnish] #1843: HTTP/1.0 POST without C-L should error out earlier
Varnish
varnish-bugs at varnish-cache.org
Sun Jan 17 08:34:26 CET 2016
#1843: HTTP/1.0 POST without C-L should error out earlier
----------------------+--------------------
Reporter: fgsch | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+--------------------
Description changed by fgsch:
Old description:
> In a6a6e97a we allowed POST without a body.
> For HTTP/1.0 however, the Content-Length must be present.
>
> Currently, we will pass the request and assume chunked, which is
> incorrect for HTTP/1.0. We should error out earlier.
New description:
In a6a6e97a we allowed POST without a body.
For HTTP/1.0 however, the Content-Length must be present.
Currently, we will pass the request and assume chunked, which is incorrect
for HTTP/1.0. Since there is no body, we timeout eventually:
{{{
1002 FetchError b req.body read error: 11 (Resource temporarily
unavailable)
1002 FetchError b backend write error: 11 (Resource temporarily
unavailable)
}}}
We should error out earlier.
--
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1843#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list