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.
This commit is contained in:
Amaury Denoyelle 2022-02-01 10:16:05 +01:00
parent 9aa324de2d
commit 6a4aebfbfc

View File

@ -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;