mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 01:43:27 +02:00
don't send sync ACK when interval is == 1
This commit is contained in:
parent
69ca0d2675
commit
b232a44c8d
2 changed files with 6 additions and 4 deletions
|
@ -223,9 +223,11 @@ void Connection::sync() {
|
|||
// reset the number of light ACKs or non SYN ACKs during this sync interval
|
||||
_lightACKsDuringSYN = 1;
|
||||
_acksDuringSYN = 1;
|
||||
|
||||
// we send out a periodic ACK every rate control interval
|
||||
sendACK();
|
||||
|
||||
if (_congestionControl->_ackInterval > 1) {
|
||||
// we send out a periodic ACK every rate control interval
|
||||
sendACK();
|
||||
}
|
||||
|
||||
if (_lossList.getLength() > 0) {
|
||||
// check if we need to re-transmit a loss list
|
||||
|
|
|
@ -19,7 +19,7 @@ void TCPRenoCC::init() {
|
|||
_packetSendPeriod = 0.0;
|
||||
_congestionWindowSize = 2.0;
|
||||
|
||||
setAckInterval(2);
|
||||
setAckInterval(1);
|
||||
setRTO(1000000);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue