BUG/MEDIUM: mux-h2: Use the right list in h2_stop_senders().
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 21 Mar 2019 14:50:58 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Mar 2019 17:28:31 +0000 (18:28 +0100)
commitfd8bd4521a028006d38df3ce4fcf70929ec8aecc
treed73c2664385f19c1155912723e1303997f3bdc0b
parent16ff261633ddae1b86f897ee2c14bd8fdda92401
BUG/MEDIUM: mux-h2: Use the right list in h2_stop_senders().

In h2_stop_senders(), when we're about to move the h2s about to send back
to the send_list, because we know the mux is full, instead of putting them
all in the send_list, put them back either in the fctl_list or the send_list
depending on if they are waiting for the flow control or not. This also makes
sure they're inserted in their arrival order and not reversed.

This should be backported to 1.9.
src/mux_h2.c