From: Amaury Denoyelle Date: Tue, 1 Feb 2022 09:16:05 +0000 (+0100) Subject: MINOR: mux-quic: add comment X-Git-Tag: v2.6-dev1~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6a4aebfbfc5e5bb9f541585ea5926d9e8f939cd9;p=thirdparty%2Fhaproxy.git MINOR: mux-quic: add comment Explain the qc_release_detached_streams function purpose and interface. Most notably the return code which is the count of released streams. --- diff --git a/src/mux_quic.c b/src/mux_quic.c index 22d39ef0bd..52187097d3 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -339,6 +339,11 @@ static int qc_send(struct qcc *qcc) return ret; } +/* Release all streams that are already marked as detached. This is only done + * if their TX buffers are empty or if a CONNECTION_CLOSE has been received. + * + * Return the number of released stream. + */ static int qc_release_detached_streams(struct qcc *qcc) { struct eb64_node *node;