summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-07-22 13:51:36 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-07-22 13:51:36 +0200
commit104b88eb9c966c476906beaa5339d050560d98b7 (patch)
tree5e3368efeb813f69a7c1ec3905594dcafece39e3 /src
parent9577599e6af4dfb36df81fe5d89801c4ce4a19ab (diff)
Network: ack service packets
Diffstat (limited to 'src')
-rw-r--r--src/network.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 929908a..305f073 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -651,6 +651,7 @@ void Server::Priv::handlePacket(Server::Peer & peer, const TransportHeader & hea
});
waiting.push_back(wref);
peer.serviceQueue.emplace_back(*serviceType, wref);
+ reply.header({ TransportHeader::Type::Acknowledged, pref });
wref->check(reply);
}
}