mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 22:51:28 +02:00
drop CWS to 2 if reno fast re-transmit is hit
This commit is contained in:
parent
64a0239248
commit
d05e3e1dd6
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ bool TCPVegasCC::onACK(SequenceNumber ack, p_high_resolution_clock::time_point r
|
||||||
_numACKSinceFastRetransmit = 0;
|
_numACKSinceFastRetransmit = 0;
|
||||||
_duplicateACKCount = 0;
|
_duplicateACKCount = 0;
|
||||||
|
|
||||||
|
// drop the congestion window size to 2 segments
|
||||||
|
_congestionWindowSize = 2;
|
||||||
|
|
||||||
// return true so the caller knows we needed a fast re-transmit
|
// return true so the caller knows we needed a fast re-transmit
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue