commit | 998410a41be37569a1e023c1402876fb3f3832ae | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Mon Apr 15 19:23:37 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Mon Apr 15 19:27:57 2019 +0200 |
tree | 701dd89be33388c955b335e669e6d8b328022d2a | |
parent | 9a0f559676c4d309edbe42ba33197e7dd8935f1c [diff] |
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).