forked from quic-go/quic-go
initialize the slow start threshold to infinity
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user