]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: Remove the tasklet from the task list if unsubscribing.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 25 Mar 2019 13:10:42 +0000 (14:10 +0100)
committerOlivier Houchard <cognet@ci0.org>
Mon, 25 Mar 2019 13:34:26 +0000 (14:34 +0100)
commit3ea351368959da77aa873439d928704a07e0fe4e
treeab00737dae9e3161100217b5766e8ba0501e5f9a
parentafc7cb85c47f89a95554d20fd4a9e11a28b8b4b9
BUG/MEDIUM: h2: Remove the tasklet from the task list if unsubscribing.

In h2_unsubscribe(), if we unsubscribe on SUB_CALL_UNSUBSCRIBE, then remove
ourself from the sending_list, and remove the tasklet from the task list.
We're probably about to destroy the stream anyway, so we don't want the
tasklet to run, or to stay in the sending_list, or it could lead to a crash.

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