haproxy/include
Christopher Faulet 3a78aa6e95 BUG/MINOR: stats: Fully consume large requests in the stats applet
In the stats applet (in HTX and legacy HTTP), after a response is fully sent to
a client, the request is consumed. It is done at the end, after all the response
was copied into the channel's buffer. But only outgoing data at time the applet
is called are consumed. Then the applet is closed. If a request with a huge body
is sent, an error is triggerred because a SHUTW is catched for an unfinisehd
request.

Now, we consume request data until the end. In fact, we don't try to shutdown
the request's channel for write anymore.

This patch must be backported to 1.9 after some observation period. It should
probably be backported in prior versions too. But honnestly, with refactoring
on the connection layer and the stream interface in 1.9, it is probably safer
to not do so.
2019-03-19 09:49:29 +01:00
..
common MEDIUM: list: Use _HA_ATOMIC_* 2019-03-14 15:55:15 +01:00
import
proto MINOR: init: report the list of optionally available services 2019-03-19 08:08:10 +01:00
types BUG/MINOR: stats: Fully consume large requests in the stats applet 2019-03-19 09:49:29 +01:00