]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Missing parentheses around PTO probe variable.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 20 Jul 2023 13:45:41 +0000 (15:45 +0200)
committerFrédéric Lécaille <flecaille@haproxy.com>
Fri, 21 Jul 2023 12:31:42 +0000 (14:31 +0200)
commitf92d816e3d5e0545dd035b9daae9032740e08100
treeb434afb09b7d6c6198d92b8ba11e376b235cc94a
parent72619bda4c53a9e40ca50d04d88191051f148c35
BUG/MINOR: quic: Missing parentheses around PTO probe variable.

It is hard to analyze the impact of this bug. I guess it could lead a connection
to probe infinitively (with an exponential backoff probe timeout) during an handshake,
but one has never seen such a case.

Add missing parentheses around ->flags of the TX packet built by qc_do_build_pkt()
to detect that this packet embeds ack-eliciting frames. In this case if a probing
packet was needed the ->pto_probe value of the packet number space must be
decremented.

Must be backported as far as 2.6.
src/quic_conn.c