On Tue, Oct 18, 2022 at 4:15 PM Christopher Faulet <cfau...@haproxy.com> wrote: > On all HTX versions, K/A and close modes are handled in the H1 multiplexer. > Thus, on these versions, http_reply_and_close() is only closing the stream. > The > multiplexer is responsible to close the client connection or not. > > On pre-HTX versions, when http_reply_and_close() is used, the client > connection > is also closed. It is a limitation of of HAProxy versions using the legacy > HTTP. > > Note there is a case where the connection client may be closed. If the HAProxy > response is returned before the end of the request, the client connection is > closed. There is no (not yet) draining mode at the mux level.
coming back on this very late: `http-request wait-for-body time` or a `http-request tarpit` mitigate the draining issue? I am trying to find a workaround on a setup where we are behind another L7 LB where we unexpectedly close the connection. Thanks! -- William