mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Add extra debug to udt connection
This commit is contained in:
parent
57a6cbc9dd
commit
04f512c99b
1 changed files with 6 additions and 0 deletions
|
@ -731,6 +731,12 @@ void Connection::processHandshake(std::unique_ptr<ControlPacket> controlPacket)
|
|||
if (!_hasReceivedHandshake || initialSequenceNumber != _initialReceiveSequenceNumber) {
|
||||
// server sent us a handshake - we need to assume this means state should be reset
|
||||
// as long as we haven't received a handshake yet or we have and we've received some data
|
||||
|
||||
#ifdef UDT_CONNECTION_DEBUG
|
||||
if (initialSequenceNumber != _initialReceiveSequenceNumber) {
|
||||
qCDebug(networking) << "Resetting receive state, received a new initial sequence number in handshake";
|
||||
}
|
||||
#endif
|
||||
resetReceiveState();
|
||||
_initialReceiveSequenceNumber = initialSequenceNumber;
|
||||
_lastReceivedSequenceNumber = initialSequenceNumber - 1;
|
||||
|
|
Loading…
Reference in a new issue