mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Maximum number of half-open connections can now be changed from program preferences (default is now 50 instead of unlimited)
This commit is contained in:
@@ -445,6 +445,8 @@ void Bittorrent::configureSession() {
|
||||
// Include overhead in transfer limits
|
||||
sessionSettings.rate_limit_ip_overhead = Preferences::includeOverheadInLimits();
|
||||
// Bittorrent
|
||||
// * Max Half-open connections
|
||||
s->set_max_half_open_connections(Preferences::getMaxHalfOpenConnections());
|
||||
// * Max connections limit
|
||||
setMaxConnections(Preferences::getMaxConnecs());
|
||||
// * Max connections per torrent limit
|
||||
|
||||
Reference in New Issue
Block a user