BUG/MEDIUM: mux-h2: fix missing test on sending_list in previous patch
authorWilly Tarreau <w@1wt.eu>
Fri, 10 Jan 2020 17:20:15 +0000 (18:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 10 Jan 2020 17:20:15 +0000 (18:20 +0100)
commit70c5b0e5fd5ad243f4645b37a0f89068de97e90e
treefcf2b784a1ad672f5fcf1fd75339bacad55ae3d1
parent989539b048bef502a474553a8e330a3d318edb6c
BUG/MEDIUM: mux-h2: fix missing test on sending_list in previous patch

Previous commit 989539b048 ("BUG/MINOR: mux-h2: use a safe
list_for_each_entry in h2_send()") accidently lost its sending_list test,
resulting in some elements to be woken up again while already in the
sending_list and h2_unsubscribe() crashing on integrity tests (only
when built with DEBUG_DEV).

If the fix above is backported this one must be as well.
src/mux_h2.c