mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
- Really enable UPnP/LSD/NAT-PMP (recently disabled as a default in libtorrent)
This commit is contained in:
parent
80fa44f8bb
commit
7469f97953
2 changed files with 4 additions and 1 deletions
|
@ -52,6 +52,10 @@ bittorrent::bittorrent(){
|
|||
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0));
|
||||
// Set severity level of libtorrent session
|
||||
s->set_severity_level(alert::info);
|
||||
// Enable LSD/UPnP/NAT-PMP
|
||||
s->start_lsd();
|
||||
s->start_natpmp();
|
||||
s->start_upnp();
|
||||
// DHT (Trackerless), disabled until told otherwise
|
||||
DHTEnabled = false;
|
||||
// Enabling metadata plugin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue