MINOR: mux-h2: make h2s_wake_one_stream() the only function to deal with CS
authorWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 15:26:05 +0000 (17:26 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 14 May 2019 13:47:57 +0000 (15:47 +0200)
commit13b6c2e8b3db4d7cda47a53f179537f1e94419c6
treeb0b265f3b6bac84154cde1776860de61e16efdb5
parent234829111f12b5de1c92ddfb59b1367dc7c75090
MINOR: mux-h2: make h2s_wake_one_stream() the only function to deal with CS

h2s_wake_one_stream() has access to all the required elements to update
the connstream's flags and figure the necessary state transitions, so
let's move the conditions there from h2_wake_some_streams().
src/mux_h2.c