mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
BUG/MINOR: quic: wrong logical statement in in_recovery_period() (BBR)
A && logical operator was badly replaced by a || in this function which decides if BBR is in a recovery period. Must be backported to 3.1.
This commit is contained in:
parent
a9a2f98f86
commit
1dbf6b8bed
1 changed files with 1 additions and 1 deletions
|
|
@ -1296,7 +1296,7 @@ static void bbr_update_control_parameters(struct bbr *bbr,
|
|||
|
||||
static inline int in_recovery_period(struct quic_cc_path *p, uint32_t ts)
|
||||
{
|
||||
return tick_isset(p->recovery_start_ts) ||
|
||||
return tick_isset(p->recovery_start_ts) &&
|
||||
tick_is_le(ts, p->recovery_start_ts);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue