Skip to content

Commit c0aa91a

Browse files
committed
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.
1 parent e2c3cd9 commit c0aa91a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/qcm_qmux.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ static int qmux_parse_frm(struct qcc *qcc, struct buffer *buf)
7070
struct qf_reset_stream *rst_frm = &frm.reset_stream;
7171
qcc_recv_reset_stream(qcc, rst_frm->id, rst_frm->app_error_code, rst_frm->final_size);
7272
}
73+
else if (frm.type == QUIC_FT_STOP_SENDING) {
74+
struct qf_stop_sending *ss_frm = &frm.stop_sending;
75+
qcc_recv_stop_sending(qcc, ss_frm->id, ss_frm->app_error_code);
76+
}
7377
else if (frm.type == QUIC_FT_MAX_DATA) {
7478
struct qf_max_data *md_frm = &frm.max_data;
7579
qcc_recv_max_data(qcc, md_frm->max_data);

0 commit comments

Comments
 (0)