]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: mux-h2: Don't bother keeping the h2s if detaching and nothing to send.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 21 Mar 2019 14:48:46 +0000 (15:48 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Mar 2019 17:28:31 +0000 (18:28 +0100)
commit16ff261633ddae1b86f897ee2c14bd8fdda92401
tree86151402c6b9b272f6a20291e0d99e1bebcba3ba
parent7a977431ca4864d8aaa148ef29369ca7f5fcfd5e
BUG/MEDIUM: mux-h2: Don't bother keeping the h2s if detaching and nothing to send.

In h2_detach(), don't bother keeping the h2s even if it was waiting for
flow control if we no longer are subscribed for receiving or sending, as
nobody will do anything once we can write in the mux, anyway. Failing to do
so may lead to h2s being kept opened forever.

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