]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h1: Wake busy mux for I/O when message is fully sent
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Jun 2019 14:54:15 +0000 (16:54 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 14 Jun 2019 15:40:10 +0000 (17:40 +0200)
commitcd67bffd26561e748f897efba589425ac659f1d9
tree49c140d466b6bfa8145c6224241a243702fcd014
parent50b1aaeffc311e3a0b6a1c16d2a6a57517f83fb6
BUG/MINOR: mux-h1: Wake busy mux for I/O when message is fully sent

If a mux is in busy mode when the outgoing EOM is consummed, it is important to
wake it up for I/O. Because in busy mode, the mux is not subscribed for
receive. Otherwise, it depends on the applicative layer to shutdown the H1
stream. Wake it up allows the mux to catch the read0 as soon as possible.

This patch must be backported to 1.9.
src/mux_h1.c