mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:23:00 +02:00
cleanup math for leftover ACKs
This commit is contained in:
parent
214d2e4c91
commit
ddce913095
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ void TCPVegasCC::performRenoCongestionAvoidance(SequenceNumber ack) {
|
|||
_congestionWindowSize = udt::MAX_PACKETS_IN_FLIGHT;
|
||||
|
||||
// figure out how many left over ACKs we should apply using the regular reno congestion avoidance
|
||||
numAcked -= congestionWindow - _congestionWindowSize;
|
||||
numAcked = congestionWindow - udt::MAX_PACKETS_IN_FLIGHT;
|
||||
} else {
|
||||
_congestionWindowSize = congestionWindow;
|
||||
numAcked = 0;
|
||||
|
|
Loading…
Reference in a new issue