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

This commit is contained in:
Christophe Dumez 2007-08-01 08:47:58 +00:00
parent 80fa44f8bb
commit 7469f97953
2 changed files with 4 additions and 1 deletions

1
TODO
View File

@ -44,7 +44,6 @@
- Add checking icon to documentation
* beta3
- 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
- Clean up delayed progress column sorting code
- Clean up pause after checking code

View File

@ -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