mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
BUG/MINOR: quic: wrong bbr_target_inflight() implementation
This bug arrived with this commit: 6404b7a18a BUG/MINOR: quic: fix bbr_inflight() calls with wrong gain value This patch partially reverts after having checked the BBR v3 draft. This bug was invisible when testing long BBR flows. Must be backported to 3.1.
This commit is contained in:
parent
b47e1e65df
commit
2bcd5b4cba
@ -840,7 +840,7 @@ static void bbr_exit_probe_rtt(struct bbr *bbr)
|
|||||||
|
|
||||||
static uint64_t bbr_target_inflight(struct bbr *bbr, struct quic_cc_path *p)
|
static uint64_t bbr_target_inflight(struct bbr *bbr, struct quic_cc_path *p)
|
||||||
{
|
{
|
||||||
uint64_t bdp = bbr_inflight(bbr, p, bbr->bw, bbr->cwnd_gain);
|
uint64_t bdp = bbr_inflight(bbr, p, bbr->bw, 100);
|
||||||
return MIN(bdp, p->cwnd);
|
return MIN(bdp, p->cwnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user