initialize the slow start threshold to infinity

This commit is contained in:
Marten Seemann 2021-01-23 16:30:04 +08:00
parent eea0b1eacd
commit 8895a79e30
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ func newCubicSender(clock Clock, rttStats *utils.RTTStats, reno bool, initialCon
initialMaxCongestionWindow: initialMaxCongestionWindow,
congestionWindow: initialCongestionWindow,
minCongestionWindow: minCongestionWindow,
slowStartThreshold: initialMaxCongestionWindow,
slowStartThreshold: protocol.MaxByteCount,
maxCongestionWindow: initialMaxCongestionWindow,
cubic: NewCubic(clock),
clock: clock,