]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: quic: Possible skipped RTT sampling
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 29 Aug 2023 09:01:19 +0000 (11:01 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 4 Sep 2023 09:29:35 +0000 (11:29 +0200)
commit3c90c1ce6b42ab53553ff06fc83781d4327825dc
tree5cad2649d2679f4959ccdd37fa8525270f92f54b
parentb50a471adbb464179a040ec9488dda86da38a07e
BUG/MINOR: quic: Possible skipped RTT sampling

There are very few chances this bug may occur. Furthermore the consequences
are not dramatic: an RTT sampling may be ignored. I guess this may happen
when the now_ms global value wraps.

Do not rely on the time variable value a packet was sent to decide if it
is a newly acknowledged packet but on its presence or not in the tx packet
ebtree.

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