]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-quic: remove uneeded TODO in qc_detach
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Apr 2022 09:58:55 +0000 (11:58 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 8 Apr 2022 10:08:50 +0000 (12:08 +0200)
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.

src/mux_quic.c

index 8b85c3314a6bc6c5b6bd14a407cdfa9dcf70c24e..b9131890dd4e3622e15295347f183b3f65c434a3 100644 (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) &&