]> git.kaiwu.me - haproxy.git/commit
CLEANUP: quic: remove the dead encryption level variable in qc_prep_hdshk_fast_retrans()
authorFrederic Lecaille <flecaille@haproxy.com>
Wed, 4 Nov 2026 16:55:02 +0000 (17:55 +0100)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 5 Nov 2026 08:58:36 +0000 (09:58 +0100)
commitbab3d54de6a7f0b8cbae53a979942e2f9e0fdd8d
treee1ac4322808598e9ebd0838500d270f4fb1267b7
parent5ae48ca2e18468be731a516f4e97c76dcf1e10e6
CLEANUP: quic: remove the dead encryption level variable in qc_prep_hdshk_fast_retrans()

<qel> was assigned once to qc->iel and never modified afterwards, so
every "qel == iqel" test was always true. Use <iqel> directly for the
packet number space and for the pto_probe increment, test the
anti-amplification condition positively, and unwrap the requeue
condition.

The <start> label has had no goto target since this function stopped
looping over encryption levels, remove it.

No functional change, no need to backport.
src/quic_retransmit.c