mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 16:47:18 +02:00
BUG/MINOR: quic: fix the wrong tracked recovery start time value
bbr_congestion_event() role is to track the start time of recovery periods. This was done using <ts> passed as parameter. But this parameter is the time the newest lost packet has been sent. The timestamp value to store in ->recovery_start_ts is <now_ms>. Must be backported to 3.1.
This commit is contained in:
parent
e1d25cdbdd
commit
e61b418907
@ -1446,7 +1446,7 @@ static void bbr_congestion_event(struct quic_cc *cc, uint32_t ts)
|
|||||||
tick_isset(bbr->recovery_start_ts) || in_recovery_period(p, ts))
|
tick_isset(bbr->recovery_start_ts) || in_recovery_period(p, ts))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
bbr->recovery_start_ts = ts;
|
bbr->recovery_start_ts = now_ms;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Callback to return the delivery rate sample struct from <cc> */
|
/* Callback to return the delivery rate sample struct from <cc> */
|
||||||
|
Loading…
Reference in New Issue
Block a user