]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Rework how shutdowns are handled
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 5 Oct 2020 15:11:16 +0000 (17:11 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 4 Dec 2020 13:41:49 +0000 (14:41 +0100)
commit3c82d8b328b7aadc2901e04f657315113446e7fd
treefa28c4df103d1174572fb0b579aa6f8bc434f24e
parent119ac870ce38183b362287be4e43f688964195ef
MINOR: mux-h1: Rework how shutdowns are handled

We now only rely on one flag to notify a shutdown. The shutdown is performed
at the connection level when there are no more pending outgoing data. So, it
means it is performed immediately if the output buffer is empty. Otherwise
it is deferred after the outgoing data are sent.

This simplify a bit the mux because there is now only one flag to check.
src/mux_h1.c