This commit is contained in:
Michael Davidsaver
2018-05-18 15:17:01 -07:00
parent ce19199edd
commit ba41fa6d62
2 changed files with 3 additions and 0 deletions

View File

@@ -283,6 +283,7 @@ void ServerSearchHandler::handleResponse(osiSockAddr* responseFrom,
const int32 count = payloadBuffer->getShort() & 0xFFFF;
// TODO DoS attack?
// You bet! With a reply address encoded in the request we don't even need a forged UDP header.
const bool responseRequired = (QOS_REPLY_REQUIRED & qosCode) != 0;
//