mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 03:28:41 -07:00
Temporary revert to the old behavior.
This commit is contained in:
parent
a35c6426ab
commit
0b5de9ff54
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue