This commit is contained in:
Craig Drummond
2021-12-27 17:05:24 +00:00
parent aa376c3cc6
commit b65b182629
46 changed files with 33 additions and 82 deletions

View File

@@ -255,7 +255,7 @@ void HttpSocket::readClient()
return;
}
if (socket->bytesAvailable() >= constMaxBuffer) {
if (static_cast<size_t>(socket->bytesAvailable()) >= constMaxBuffer) {
// Request too large, reject
sendErrorResponse(socket, 400);
socket->close();