mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:23:06 +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;
|
_congestionWindowSize = udt::MAX_PACKETS_IN_FLIGHT;
|
||||||
|
|
||||||
// figure out how many left over ACKs we should apply using the regular reno congestion avoidance
|
// 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 {
|
} else {
|
||||||
_congestionWindowSize = congestionWindow;
|
_congestionWindowSize = congestionWindow;
|
||||||
numAcked = 0;
|
numAcked = 0;
|
||||||
|
|
Loading…
Reference in a new issue