mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 10:23:59 +02:00
Remove _hasReceivedData
This commit is contained in:
parent
2229e397fa
commit
57a6cbc9dd
2 changed files with 2 additions and 3 deletions
|
@ -412,7 +412,7 @@ bool Connection::processReceivedSequenceNumber(SequenceNumber sequenceNumber, in
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
_isReceivingData = _hasReceivedData = true;
|
_isReceivingData = true;
|
||||||
|
|
||||||
// mark our last receive time as now (to push the potential expiry farther)
|
// mark our last receive time as now (to push the potential expiry farther)
|
||||||
_lastReceiveTime = p_high_resolution_clock::now();
|
_lastReceiveTime = p_high_resolution_clock::now();
|
||||||
|
@ -810,7 +810,7 @@ void Connection::resetReceiveState() {
|
||||||
// the _nakInterval need not be reset, that will happen on loss
|
// the _nakInterval need not be reset, that will happen on loss
|
||||||
|
|
||||||
// clear sync variables
|
// clear sync variables
|
||||||
_isReceivingData = _hasReceivedData = false;
|
_isReceivingData = false;
|
||||||
_connectionStart = p_high_resolution_clock::now();
|
_connectionStart = p_high_resolution_clock::now();
|
||||||
|
|
||||||
_acksDuringSYN = 1;
|
_acksDuringSYN = 1;
|
||||||
|
|
|
@ -129,7 +129,6 @@ private:
|
||||||
p_high_resolution_clock::time_point _lastReceiveTime; // holds the last time we received anything from sender
|
p_high_resolution_clock::time_point _lastReceiveTime; // holds the last time we received anything from sender
|
||||||
|
|
||||||
bool _isReceivingData { false }; // flag used for expiry of receipt portion of connection
|
bool _isReceivingData { false }; // flag used for expiry of receipt portion of connection
|
||||||
bool _hasReceivedData { false }; // flag used for reset of connection state on second handshake
|
|
||||||
bool _isActive { true }; // flag used for inactivity of connection
|
bool _isActive { true }; // flag used for inactivity of connection
|
||||||
|
|
||||||
SequenceNumber _initialReceiveSequenceNumber; // Randomized by peer SendQueue on creation, identifies connection during re-connect requests
|
SequenceNumber _initialReceiveSequenceNumber; // Randomized by peer SendQueue on creation, identifies connection during re-connect requests
|
||||||
|
|
Loading…
Reference in a new issue