mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Remove closed connections immediately
Previously it relied on a timer to drop dead connections but that proved to be too slow when there is an incoming burst of connections. Fixes #10487.
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Http
|
||||
|
||||
private:
|
||||
void incomingConnection(qintptr socketDescriptor);
|
||||
void removeConnection(Connection *connection);
|
||||
|
||||
IRequestHandler *m_requestHandler;
|
||||
QList<Connection *> m_connections; // for tracking persistent connections
|
||||
|
||||
Reference in New Issue
Block a user