mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 07:07:04 +02:00
BUG/MINOR: quic: Wrong RTT adjusments
There was a typo in the test statement to check if the rtt must be adjusted (>= incorectly replaced by >). Must be backported as far as 2.6.
This commit is contained in:
parent
6bc00a97da
commit
cf768f7456
@ -35,7 +35,7 @@ void quic_loss_srtt_update(struct quic_loss *ql,
|
||||
|
||||
ql->rtt_min = QUIC_MIN(rtt, ql->rtt_min);
|
||||
/* Specific to QUIC (RTT adjustment). */
|
||||
if (ack_delay && rtt > ql->rtt_min + ack_delay)
|
||||
if (ack_delay && rtt >= ql->rtt_min + ack_delay)
|
||||
rtt -= ack_delay;
|
||||
diff = (ql->srtt >> 3) - rtt;
|
||||
if (diff < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user