From 068baf4ddfc1f5085b83ad2bc426ed7e395e13ad Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 27 Mar 2026 10:15:13 +0100 Subject: [PATCH] MINOR: mux-quic: handle flow-control frame on qstream read Implements parsing of frames related to flow-control for mux-quic running on the new QMux protocol. This simply calls qcc_recv_*() MUX functions already used by QUIC. --- src/mux_quic_qstrm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mux_quic_qstrm.c b/src/mux_quic_qstrm.c index 17ab97713..2c885b453 100644 --- a/src/mux_quic_qstrm.c +++ b/src/mux_quic_qstrm.c @@ -64,6 +64,14 @@ static int qstrm_parse_frm(struct qcc *qcc, struct buffer *buf) struct qf_reset_stream *rst_frm = &frm.reset_stream; qcc_recv_reset_stream(qcc, rst_frm->id, rst_frm->app_error_code, rst_frm->final_size); } + else if (frm.type == QUIC_FT_MAX_DATA) { + struct qf_max_data *md_frm = &frm.max_data; + qcc_recv_max_data(qcc, md_frm->max_data); + } + else if (frm.type == QUIC_FT_MAX_STREAM_DATA) { + struct qf_max_stream_data *msd_frm = &frm.max_stream_data; + qcc_recv_max_stream_data(qcc, msd_frm->id, msd_frm->max_stream_data); + } else { ABORT_NOW(); }