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 22d39ef..5218709 100644
--- a/src/mux_quic.c
+++ b/src/mux_quic.c
@@ -339,6 +339,11 @@
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;