• Baptiste Jonglez's avatar
    RTT smoothing: fix a rounding bug · 72ded7c1
    Baptiste Jonglez authored
    We were currently rounding down the result, which could cause the
    smoothed RTT to get permanently stuck below the RTT samples.
    
    We now round either up or down, whichever gets us closer to the
    current RTT sample.
    72ded7c1
message.c 54 KB