]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: simplify empty emitted STREAM FIN handling
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:08:27 +0000 (11:08 +0200)
commit1cae481c4cd406546b3fd5bab4a83cf12e2d3f6a
tree5f05773b12f2f8df37e2716c15371626ecc3ae77
parentaf1d170122369094a1f3869791fb34fb7286e31e
MINOR: mux-quic: simplify empty emitted STREAM FIN handling

An empty STREAM frame can be emitted by QUIC MUX to notify about a
delayed FIN. This requires tedious comparison in qmux_ctrl_send() to
differentiate between the first empty frame and a retransmitted one.

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