Temporary revert to the old behavior.

This commit is contained in:
Chocobo1 2017-04-18 02:05:02 +08:00 committed by sledgehammer999
commit 8a02a69924
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -88,6 +88,7 @@ void Connection::read()
void Connection::sendResponse(const Response &response)
{
m_socket->write(toByteArray(response));
m_socket->close(); // TODO: remove when HTTP pipelining is supported
}
bool Connection::hasExpired(const qint64 timeout) const