MINOR: mux_quic: receive MAX_STREAMS_BIDI frames in QMux

Support reception via QMux of flow control MAX-STREAMS frame for
bidirectional streams. This is similar to the QUIC with shared
qcc_recv_max_streams() function.
This commit is contained in:
Amaury Denoyelle 2026-04-23 15:36:38 +02:00
parent 64b7ef7971
commit 02bfbddce3

View File

@ -78,6 +78,10 @@ static int qstrm_parse_frm(struct qcc *qcc, struct buffer *buf)
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 if (frm.type == QUIC_FT_MAX_STREAMS_BIDI) {
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_DATA_BLOCKED ||
frm.type == QUIC_FT_STREAM_DATA_BLOCKED ||
frm.type == QUIC_FT_STREAMS_BLOCKED_BIDI ||