mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
MINOR: quic: make bbr consider the max window size setting
Limit the BBR congestion control window size as this is done for all the others congestion control algorithms with tune.quic.frontend.default-max-window-size or as first argument passed to "bbr" option for "quic-cc-algo".
This commit is contained in:
parent
dc15581c02
commit
a3248a39eb
@ -559,6 +559,8 @@ static void bbr_set_cwnd(struct bbr *bbr, struct quic_cc_path *p, uint32_t acked
|
||||
p->cwnd = MAX(p->cwnd, bbr_min_pipe_cwnd(p));
|
||||
bbr_bound_cwnd_for_probe_rtt(bbr, p);
|
||||
bbr_bound_cwnd_for_model(bbr, p);
|
||||
/* Limitation by configuration (not in BBR RFC). */
|
||||
p->cwnd = MIN(p->cwnd, p->max_cwnd);
|
||||
}
|
||||
|
||||
static int bbr_init(struct quic_cc *cc)
|
||||
|
Loading…
x
Reference in New Issue
Block a user