]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: mux-h2: always send stream window update before connection's
authorWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2019 13:39:32 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 6 Aug 2019 13:39:32 +0000 (15:39 +0200)
commite74679a9c65009931c75ca92e31751b2a5573554
tree2721eebc1e72d758d1baf6dcedd2c301e5a58518
parent9fd5aa8ada7b62ec43488a54d80986e41370471f
BUG/MINOR: mux-h2: always send stream window update before connection's

In h2_process_mux() if we have some room and an attempt to send a window
update for the connection was pending, it's done first. But it's not done
for the stream, which will have for effect of postponing this attempt
till next pass into h2_process_demux(), at the risk of seeing the send
buffer full again. Let's always try to send both pending frames as soon
as possible.

This should be backported as far as 1.8.
src/mux_h2.c