mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-25 10:42:14 -04:00
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.
This commit is contained in:
parent
c0aa91a202
commit
f9d4d659a4
1 changed files with 4 additions and 0 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Reference in a new issue