]> git.kaiwu.me - haproxy.git/commit
MINOR: quic: Wrong smoothed rtt initialization
authorFrédéric Lécaille <flecaille@haproxy.com>
Mon, 14 Feb 2022 09:17:01 +0000 (10:17 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:23:44 +0000 (17:23 +0100)
commiteca47d9a8aa2675578d743f7fb4dd93a0ef489d5
tree1366d7a0fbffe82aefcfc52ca75a08f65d4ff5f3
parent91379f79f858f0ab7bfa28225ca4d6c6e8e1b150
MINOR: quic: Wrong smoothed rtt initialization

In ->srtt we store 8*srtt to ease the srtt computations with this formula:
    srtt = 7/8 * srtt + 1/8 * adjusted_rtt
But its initialization was wrong.
include/haproxy/quic_loss-t.h
include/haproxy/quic_loss.h