]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h1: Drain obuf if the output is closed after sending data
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 6 Dec 2018 09:56:20 +0000 (10:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 6 Dec 2018 13:11:29 +0000 (14:11 +0100)
commit145aa4772cd28e11381209bd66104175c8a30a4d
treead1b6ee4cfd25102def3e154db7398233db48627
parentc14999b3bced20375e7066602006cd27178d91c6
MINOR: mux-h1: Drain obuf if the output is closed after sending data

It avoids to subscribe to send events because some may remain in the output
buffer. If the output is closed or if an error occurred, there is no way to send
these data anyway, so it is safe to drain them.
src/mux_h1.c