]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-h2: make streams know if they need to send more data
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Aug 2022 14:03:51 +0000 (16:03 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 19 Aug 2022 06:03:53 +0000 (08:03 +0200)
commit4877045f1dcbfbc3c7f49e90eb32dd03c070616d
tree1db1581c45fd6b6220d66807222500104082f95b
parented2b9d9f27b8591ff057717dbb2f332220afc83e
MINOR: mux-h2: make streams know if they need to send more data

H2 streams do not even know if they are expected to send more data or
not, which is problematic when closing because we don't know if we're
closing too early or not. Let's start by adding a new stream flag
"H2_SF_MORE_HTX_DATA" to indicate this on the tx path.
src/mux_h2.c