Browse Source

- Really enable UPnP/LSD/NAT-PMP (recently disabled as a default in libtorrent)

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
7469f97953
  1. 1
      TODO
  2. 4
      src/bittorrent.cpp

1
TODO

@ -44,7 +44,6 @@
- Add checking icon to documentation - Add checking icon to documentation
* beta3 * beta3
- Translations update (IN PROGRESS) - Translations update (IN PROGRESS)
- Really enable UPnP/LSD/NAT-PMP (recently disabled as a default in libtorrent)
- make use of finishedChecking alert if hydri implements it - make use of finishedChecking alert if hydri implements it
- Clean up delayed progress column sorting code - Clean up delayed progress column sorting code
- Clean up pause after checking code - Clean up pause after checking code

4
src/bittorrent.cpp

@ -52,6 +52,10 @@ bittorrent::bittorrent(){
s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0)); s = new session(fingerprint("qB", VERSION_MAJOR, VERSION_MINOR, VERSION_BUGFIX, 0));
// Set severity level of libtorrent session // Set severity level of libtorrent session
s->set_severity_level(alert::info); 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 // DHT (Trackerless), disabled until told otherwise
DHTEnabled = false; DHTEnabled = false;
// Enabling metadata plugin // Enabling metadata plugin

Loading…
Cancel
Save