]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux: Make sure every string is woken up after the handshake.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 23 Nov 2017 17:25:47 +0000 (18:25 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 23 Nov 2017 18:35:42 +0000 (19:35 +0100)
commit7fc96d5a01b85cd324faa57da7bfedbe52f96dfe
treee77e3cbab77d0b5851b2b9d404994af5b4cd5391
parent90084a133dc9fef84bd8bb30bafa947941701515
MINOR: mux: Make sure every string is woken up after the handshake.

In case any stream was waiting for the handshake after receiving early data,
we have to wake all of them. Do so by making the mux responsible for
removing the CO_FL_EARLY_DATA flag after all of them are woken up, instead
of doing it in si_cs_wake_cb(), which would then only work for the first one.
This makes wait_for_handshake work with HTTP/2.
src/mux_h2.c
src/mux_pt.c
src/stream_interface.c