mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 14:46:55 +02:00
Merge pull request #8790 from huffman/feat/reliable-path-queries
Update ds path queries to be reliable
This commit is contained in:
commit
397816679d
2 changed files with 2 additions and 2 deletions
|
@ -2267,7 +2267,7 @@ void DomainServer::processPathQueryPacket(QSharedPointer<ReceivedMessage> messag
|
|||
QByteArray viewpointUTF8 = responseViewpoint.toUtf8();
|
||||
|
||||
// prepare a packet for the response
|
||||
auto pathResponsePacket = NLPacket::create(PacketType::DomainServerPathResponse);
|
||||
auto pathResponsePacket = NLPacket::create(PacketType::DomainServerPathResponse, -1, true);
|
||||
|
||||
// check the number of bytes the viewpoint is
|
||||
quint16 numViewpointBytes = viewpointUTF8.size();
|
||||
|
|
|
@ -389,7 +389,7 @@ void NodeList::sendDSPathQuery(const QString& newPath) {
|
|||
// only send a path query if we know who our DS is or is going to be
|
||||
if (_domainHandler.isSocketKnown()) {
|
||||
// construct the path query packet
|
||||
auto pathQueryPacket = NLPacket::create(PacketType::DomainServerPathQuery);
|
||||
auto pathQueryPacket = NLPacket::create(PacketType::DomainServerPathQuery, -1, true);
|
||||
|
||||
// get the UTF8 representation of path query
|
||||
QByteArray pathQueryUTF8 = newPath.toUtf8();
|
||||
|
|
Loading…
Reference in a new issue