]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: simplify sending of empty STREAM FIN
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Oct 2024 08:28:18 +0000 (10:28 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Oct 2024 09:21:07 +0000 (11:21 +0200)
commitb200d3d80b7da8917538a7c8ae441898e47f90fb
tree5f05773b12f2f8df37e2716c15371626ecc3ae77
parentaf1d170122369094a1f3869791fb34fb7286e31e
MINOR: mux-quic: simplify sending of empty STREAM FIN

An empty STREAM frame can be emitted by QUIC MUX to notify about a
delayed FIN when there is no data left to transmit. This requires a
tedious comparison on stream offset in qmux_ctrl_send() to ensure an
empty stream frame is not always considered as retransmitted, which is
necessary to locally close the QCS instance.

Simplify this by unsubscribe from streamdesc layer when the QCS is
locally closed on FIN transmission notification. This prevents all
future retransmitted frames to be reported to the QCS instance,
especially any potentially retransmitted empty FIN.
src/mux_quic.c