commit | cae07919422afa4f865fe325b1248ce26aa8d8c6 | [log] [tgz] |
---|---|---|
author | Amaury Denoyelle <adenoyelle@haproxy.com> | Fri Oct 08 17:57:41 2021 +0200 |
committer | Amaury Denoyelle <adenoyelle@haproxy.com> | Wed Oct 13 16:38:56 2021 +0200 |
tree | 477c050079ff7231eec5fecd2a3ae28572090ded | |
parent | ac8ee256598487f695fc0b18c991001059e8bb19 [diff] |
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.