]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-h2: discard contents that are to be sent after a shutdown
authorWilly Tarreau <w@1wt.eu>
Mon, 6 May 2019 13:00:22 +0000 (15:00 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 7 May 2019 09:08:02 +0000 (11:08 +0200)
commit2b778484189735d22c45034b22de4665a745c49d
treeecf7ef85f23a672ad540ccde8d2a89c11588e438
parentaab1a6097790774a4a36cd38fcac84128e52697b
MEDIUM: mux-h2: discard contents that are to be sent after a shutdown

In h2_snd_buf() we discard any possible buffer contents requested to be
sent after a close or an error. But in practice we can extend this to
any case where the stream is locally half-closed since it means we will
never be able to send these data anymore.

For now it must not change anything, but it will be used by subsequent
patches to discard lone a HTX EOM block arriving after the trailers
block.
src/mux_h2.c