]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: add a per-connection list of blocked streams
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 08:49:59 +0000 (10:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2019 12:16:14 +0000 (14:16 +0200)
commit9edf6dbecc9d50d3ab3764b307010a627e39117c
tree3b5b5a0122e205e206c2c4dcf197b9800b4f343e
parent35fb846333a266ebcddec90516430be5b5b12ec8
MINOR: mux-h2: add a per-connection list of blocked streams

Currently the H2 mux doesn't have a list of all the streams blocking on
the H2 side. It only knows about those trying to send or waiting for a
connection window update. It is problematic to enforce timeouts because
we never know if a stream has to live as long as the data layer wants or
has to be timed out becase it's waiting for a stream window update. This
patch adds a new list, "blocked_list", to store streams blocking on
stream flow control, or later, dependencies. Streams blocked on sfctl
are now added there. It doesn't modify the rest of the logic.
src/mux_h2.c