From f9d4d659a478fb3dea73bca12261e32f892ea0b3 Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Thu, 21 May 2026 15:50:06 +0200 Subject: [PATCH] MINOR: mux_quic: handle MAX_STREAMS for uni stream in QMux Handle reception of a MAX_STREAMS frame for unidirectional stream usage when using QMux. This simply consists in using qcc_recv_max_streams() as with QUIC protocol. --- src/qcm_qmux.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qcm_qmux.c b/src/qcm_qmux.c index 63275a6e0..308a9d44c 100644 --- a/src/qcm_qmux.c +++ b/src/qcm_qmux.c @@ -86,6 +86,10 @@ static int qmux_parse_frm(struct qcc *qcc, struct buffer *buf) struct qf_max_streams *ms_frm = &frm.max_streams_bidi; qcc_recv_max_streams(qcc, ms_frm->max_streams, 1); } + else if (frm.type == QUIC_FT_MAX_STREAMS_UNI) { + struct qf_max_streams *ms_frm = &frm.max_streams_uni; + qcc_recv_max_streams(qcc, ms_frm->max_streams, 0); + } else if (frm.type == QUIC_FT_DATA_BLOCKED || frm.type == QUIC_FT_STREAM_DATA_BLOCKED || frm.type == QUIC_FT_STREAMS_BLOCKED_BIDI ||