BUG/MINOR: quic: Wrong RTT computation (srtt and rrt_var)
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 5 Sep 2023 13:24:11 +0000 (15:24 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 5 Sep 2023 15:14:51 +0000 (17:14 +0200)
commitfb4294be55d372a20aee0c0f430c508a20bfb020
treeca754d45cebc9869af7291f64c42c0ca53a6074b
parentcf768f74567175566a9524a461f93fadd9748eee
BUG/MINOR: quic: Wrong RTT computation (srtt and rrt_var)

Due to the fact that several variable values (rtt_var, srtt) were stored as multiple
of their real values, some calculations were less accurate as expected.

Stop storing 4*rtt_var values, and 8*srtt values.
Adjust all the impacted statements.

Must be backported as far as 2.6.
include/haproxy/quic_loss-t.h
include/haproxy/quic_loss.h
src/quic_cli.c
src/quic_loss.c
src/quic_trace.c