mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-29 06:40:59 +01:00
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:
parent
114e759d5d
commit
9c3955c98c
@ -1061,11 +1061,6 @@ static void qc_detach(struct conn_stream *cs)
|
|||||||
|
|
||||||
TRACE_ENTER(QMUX_EV_STRM_END, qcc->conn, qcs);
|
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;
|
--qcc->nb_cs;
|
||||||
|
|
||||||
if ((b_data(&qcs->tx.buf) || qcs->tx.offset > qcs->tx.sent_offset) &&
|
if ((b_data(&qcs->tx.buf) || qcs->tx.offset > qcs->tx.sent_offset) &&
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user