mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-25 10:42:14 -04:00
MINOR: mux_quic: handle STOP_SENDING in QMux
Ensure reception of STOP_SENDING via QMux protocol is properly handled. This simply consists in using qcc_recv_stop_sending() which will update the associated QCS if found.
This commit is contained in:
parent
e2c3cd9eb7
commit
c0aa91a202
1 changed files with 4 additions and 0 deletions
|
|
@ -70,6 +70,10 @@ static int qmux_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_STOP_SENDING) {
|
||||
struct qf_stop_sending *ss_frm = &frm.stop_sending;
|
||||
qcc_recv_stop_sending(qcc, ss_frm->id, ss_frm->app_error_code);
|
||||
}
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue