]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: h2: Revamp the way send subscriptions works.
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 15 Apr 2019 17:23:37 +0000 (19:23 +0200)
committerOlivier Houchard <cognet@ci0.org>
Mon, 15 Apr 2019 17:27:57 +0000 (19:27 +0200)
commit998410a41be37569a1e023c1402876fb3f3832ae
tree701dd89be33388c955b335e669e6d8b328022d2a
parent9a0f559676c4d309edbe42ba33197e7dd8935f1c
BUG/MEDIUM: h2: Revamp the way send subscriptions works.

Instead of abusing the SUB_CALL_UNSUBSCRIBE flag, revamp the H2 code a bit
so that it just checks if h2s->sending_list is empty to know if the tasklet
of the stream_interface has been waken up or not.
send_wait is now set to NULL in h2_snd_buf() (ideally we'd set it to NULL
as soon as we're waking the tasklet, but it can't be done, because we still
need it in case we have to remove the tasklet from the task list).
src/mux_h2.c