RTT smoothing: fix a rounding bug
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.
Showing
Please register or sign in to comment