]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: Don't forget to quit the sending_list if SUB_CALL_UNSUBSCRIBE.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 20 Dec 2018 10:56:28 +0000 (11:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2018 11:24:43 +0000 (12:24 +0100)
commitf29cd5c8a8ae593895e689ded1d4c6c53eb851c3
tree08e9aa00786ebfdc710331060ec01bc0723ce656
parent15685c79121f4fd45d77ba60c5e8132f9adea651
BUG/MEDIUM: h2: Don't forget to quit the sending_list if SUB_CALL_UNSUBSCRIBE.

In mux_h2_unsubscribe, don't forget to leave the sending_list if
SUB_CALL_UNSUBSCRIBE was set. SUB_CALL_UNSUBSCRIBE means we were about
to be woken up for writing, unless the mux was too full to get more data.
If there's an unsubscribe call in the meanwhile, we should leave the list,
or we may be put back in the send_list.

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