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.
This commit is contained in:
Amaury Denoyelle 2026-03-27 10:15:13 +01:00
parent 6ae22a50e5
commit 068baf4ddf

View File

@ -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();
}