committed by
Craig Drummond
parent
37045525d8
commit
d3cf584fb4
@@ -414,6 +414,12 @@ void HttpSocket::readClient()
|
||||
if (QTcpSocket::UnconnectedState==socket->state()) {
|
||||
delete socket;
|
||||
}
|
||||
} else {
|
||||
// Bad Request
|
||||
sendErrorResponse(socket, 400);
|
||||
socket->close();
|
||||
DBUG << "Bad Request";
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user