Browse Source

Disable announce_to_all_trackers to comply with the multi-tracker

specification
adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
8c491cc831
  1. 3
      src/qtlibtorrent/qbtsession.cpp

3
src/qtlibtorrent/qbtsession.cpp

@ -392,7 +392,8 @@ void QBtSession::configureSession() {
//sessionSettings.announce_to_all_trackers = true; //sessionSettings.announce_to_all_trackers = true;
sessionSettings.auto_scrape_interval = 1200; // 20 minutes sessionSettings.auto_scrape_interval = 1200; // 20 minutes
#if LIBTORRENT_VERSION_MINOR > 14 #if LIBTORRENT_VERSION_MINOR > 14
sessionSettings.announce_to_all_trackers = true; // Comply with the multi-tracker specification
sessionSettings.announce_to_all_trackers = false;
sessionSettings.announce_to_all_tiers = false; sessionSettings.announce_to_all_tiers = false;
sessionSettings.auto_scrape_min_interval = 900; // 15 minutes sessionSettings.auto_scrape_min_interval = 900; // 15 minutes
#endif #endif

Loading…
Cancel
Save