]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: set both EOI EOS for stream fin
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 24 May 2023 08:48:52 +0000 (10:48 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 24 May 2023 12:23:22 +0000 (14:23 +0200)
commit8de35925f71c80df61e950e3714783f096f7f228
tree0d5799038d6df426cb5ee4f0e0e0a6ebc41dfc3c
parent97c344dae0f75220ffe48949977192f43b9c3d75
MINOR: mux-quic: set both EOI EOS for stream fin

A recent review was done to rationalize ERR/EOS/EOI flags on stream
endpoint. A common definition for both H1/H2/QUIC mux have been written
in the following documentation :
 ./doc/internals/stconn-close.txt

Always set EOS with EOI flag to conform to this specification. EOI is
set whenever the proper stream end has been encountered : with QUIC it
corresponds to a STREAM frame with FIN bit. At this step, RESET_STREAM
frames are ignored by QUIC MUX as allowed by RFC 9000. This means we can
always set EOS at the same time with EOI.

This should be backported up to 2.7.
src/mux_quic.c