CLEANUP: mux-quic: remove uneeded TODO in qc_detach

The stream mux buffering has been reworked since the introduction of the
struct qc_stream_desc. A qcs is now able to quickly release its buffer
to the quic-conn.
This commit is contained in:
Amaury Denoyelle 2022-04-08 11:58:55 +02:00
parent 114e759d5d
commit 9c3955c98c

View File

@ -1061,11 +1061,6 @@ static void qc_detach(struct conn_stream *cs)
TRACE_ENTER(QMUX_EV_STRM_END, qcc->conn, qcs);
/* TODO on CONNECTION_CLOSE reception, it should be possible to free
* qcs instances. This should be done once the buffering and ACK
* managment between xprt and mux is reorganized.
*/
--qcc->nb_cs;
if ((b_data(&qcs->tx.buf) || qcs->tx.offset > qcs->tx.sent_offset) &&