]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: 1RTT packets ignored after mux was released
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 21 Mar 2022 10:37:13 +0000 (11:37 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 21 Mar 2022 13:27:09 +0000 (14:27 +0100)
commit12aa26b6fd3eef3b8b176631ca0387cb57053bd1
treeb03f53fb93d0fc9900be07b31f68f081bd248221
parent2899fe2460ec38dee2606bef18f6a3ed29ba60e4
BUG/MINOR: quic: 1RTT packets ignored after mux was released

We must be able to handle 1RTT packets after the mux has terminated its job
(qc->mux_state == QC_MUX_RELEASED). So the condition (qc->mux_state != QC_MUX_READY)
in qc_qel_may_rm_hp() is not correct when we want to wait for the mux to be started.
Add a check in qc_parse_pkt_frms() to ensure is started before calling it. All
the STREAM frames will be ignored when the mux will be released.
src/xprt_quic.c