mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 03:50:20 -07:00
FEATURE: Outgoing ports range can be customized (for QoS)
This commit is contained in:
parent
8618f13b7a
commit
95da161be3
4 changed files with 60 additions and 16 deletions
|
@ -427,6 +427,8 @@ void Bittorrent::configureSession() {
|
|||
sessionSettings.active_limit = -1;
|
||||
setQueueingEnabled(false);
|
||||
}
|
||||
// Outgoing ports
|
||||
sessionSettings.outgoing_ports = std::make_pair(Preferences::outgoingPortsMin(), Preferences::outgoingPortsMax());
|
||||
setSessionSettings(sessionSettings);
|
||||
// Bittorrent
|
||||
// * Max connections limit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue