mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-01 11:10:59 +02:00
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:
parent
64b7ef7971
commit
02bfbddce3
@ -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 ||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user