mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-10 05:44:25 +00:00
Temporary revert to the old behavior.
This commit is contained in:
parent
a35c6426ab
commit
0b5de9ff54
@ -88,6 +88,7 @@ void Connection::read()
|
|||||||
void Connection::sendResponse(const Response &response)
|
void Connection::sendResponse(const Response &response)
|
||||||
{
|
{
|
||||||
m_socket->write(toByteArray(response));
|
m_socket->write(toByteArray(response));
|
||||||
|
m_socket->close(); // TODO: remove when HTTP pipelining is supported
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Connection::hasExpired(const qint64 timeout) const
|
bool Connection::hasExpired(const qint64 timeout) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user