mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
checkpoint to deal with merge
This commit is contained in:
parent
512b43e1de
commit
06ed751f56
2 changed files with 10 additions and 3 deletions
|
@ -446,7 +446,11 @@ qint64 LimitedNodeList::sendPacket(std::unique_ptr<NLPacket> packet, const HifiS
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
} else {
|
} else {
|
||||||
return sendUnreliablePacket(*packet, sockAddr, hmacAuth);
|
auto size = sendUnreliablePacket(*packet, sockAddr, hmacAuth);
|
||||||
|
if (size < 0) {
|
||||||
|
|
||||||
|
}
|
||||||
|
return size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -226,8 +226,11 @@ qint64 Socket::writeDatagram(const QByteArray& datagram, const HifiSockAddr& soc
|
||||||
qint64 bytesWritten = _udpSocket.writeDatagram(datagram, sockAddr.getAddress(), sockAddr.getPort());
|
qint64 bytesWritten = _udpSocket.writeDatagram(datagram, sockAddr.getAddress(), sockAddr.getPort());
|
||||||
|
|
||||||
if (bytesWritten < 0) {
|
if (bytesWritten < 0) {
|
||||||
// when saturating a link this isn't an uncommon message - suppress it so it doesn't bomb the debug
|
qCDebug(networking) << "udt::writeDatagram (" << _udpSocket.state() << ") error - " << _udpSocket.error() << "(" << _udpSocket.errorString() << ")";
|
||||||
qCDebug(networking) << "Socket::writeDatagram : " << sockAddr << " " << _udpSocket.error();
|
#ifdef DEBUG_EVENT_QUEUE
|
||||||
|
int nodeListQueueSize = ::hifi::qt::getEventQueueSize(thread());
|
||||||
|
qCDebug(networking) << "Networking queue size - " << nodeListQueueSize;
|
||||||
|
#endif // DEBUG_EVENT_QUEUE
|
||||||
}
|
}
|
||||||
|
|
||||||
return bytesWritten;
|
return bytesWritten;
|
||||||
|
|
Loading…
Reference in a new issue