]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: mux-quic: defer stream shut if remaining tx data
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Oct 2021 15:57:41 +0000 (17:57 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 13 Oct 2021 14:38:56 +0000 (16:38 +0200)
commitcae07919422afa4f865fe325b1248ce26aa8d8c6
tree477c050079ff7231eec5fecd2a3ae28572090ded
parentac8ee256598487f695fc0b18c991001059e8bb19
MEDIUM: mux-quic: defer stream shut if remaining tx data

Defer the shutting of a qcs if there is still data in its tx buffers. In
this case, the conn_stream is closed but the qcs is kept with a new flag
QC_SF_DETACH.

On ACK reception, the xprt wake up the shut_tl tasklet if the stream is
flagged with QC_SF_DETACH. This tasklet is responsible to free the qcs
and possibly the qcc when all bidirectional streams are removed.
include/haproxy/mux_quic-t.h
src/mux_quic.c
src/xprt_quic.c