From 3282e53e93c2e372c4126b9c8ff46db80f5d8ed2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 6 Sep 2011 19:08:55 +0300 Subject: [PATCH] Multi-tracker: announce to all trackers to avoid stalling issues with libtorrent. --- src/qtlibtorrent/qbtsession.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index 5c9135498..ea9f7b769 100644 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -392,8 +392,9 @@ void QBtSession::configureSession() { //sessionSettings.announce_to_all_trackers = true; sessionSettings.auto_scrape_interval = 1200; // 20 minutes #if LIBTORRENT_VERSION_MINOR > 14 - // Comply with the multi-tracker specification - sessionSettings.announce_to_all_trackers = false; + // XXX: Does not comply with the multi-tracker specification + // but avoids stalling issues with libtorrent + sessionSettings.announce_to_all_trackers = true; sessionSettings.announce_to_all_tiers = false; sessionSettings.auto_scrape_min_interval = 900; // 15 minutes #endif