MINOR: mux-h1: Subscribe to send in h1_snd_buf() when not all data have been sent
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 20 Nov 2018 17:38:01 +0000 (18:38 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 1 Dec 2018 16:37:27 +0000 (17:37 +0100)
commitf96c322664b02ea2772a310ebf4267ade4e54393
treefccd34e75dfcf80ed3b3bdab26093ffa969d3471
parent1727648e108cb60ed48b2ee0949fa06f2b5768e8
MINOR: mux-h1: Subscribe to send in h1_snd_buf() when not all data have been sent

After a call to snd_buf, if some data remain in the channel's buffer, this means
the system buffers are full or we are unable to fully consume an HTX block for
any reason. In the last case, we need to wakeup the stream to process more data
as soon as possible. We do it subscribing to send at the end of h1_snd_buf().
src/mux_h1.c