mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix comparison for reno slow start
This commit is contained in:
parent
ddce913095
commit
5bd6cc9fac
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ void TCPVegasCC::performRenoCongestionAvoidance(SequenceNumber ack) {
|
|||
// allowing it to grow as high as the slow start threshold
|
||||
int congestionWindow = _congestionWindowSize + numAcked;
|
||||
|
||||
if (_congestionWindowSize > udt::MAX_PACKETS_IN_FLIGHT) {
|
||||
if (congestionWindow > udt::MAX_PACKETS_IN_FLIGHT) {
|
||||
// we're done with slow start, set the congestion window to the slow start threshold
|
||||
_congestionWindowSize = udt::MAX_PACKETS_IN_FLIGHT;
|
||||
|
||||
|
|
Loading…
Reference in a new issue