mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
Implement http persistence connection
Max simultaneous connection limit set to 500 This also release allocated memory of Connection instances at runtime instead of at program shutdown.
This commit is contained in:
parent
ae0a9d74c4
commit
0b28fb6c6b
4 changed files with 73 additions and 23 deletions
|
@ -60,10 +60,14 @@ namespace Http
|
|||
void disableHttps();
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
void dropTimedOutConnection();
|
||||
|
||||
private:
|
||||
void incomingConnection(qintptr socketDescriptor);
|
||||
|
||||
IRequestHandler *m_requestHandler;
|
||||
QList<Connection *> m_connections; // for tracking persistence connections
|
||||
|
||||
#ifndef QT_NO_OPENSSL
|
||||
QList<QSslCipher> safeCipherList() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue