mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-04-03 01:51:05 +02:00
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:
parent
6ae22a50e5
commit
068baf4ddf
@ -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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user