From 39a166844eddd53e2629402cb98ca350a4e992eb Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 17 May 2010 02:06:30 +0000 Subject: [PATCH] fixed issue where trackers wouldn't tried immediately when the previous one failed --- ChangeLog | 1 + src/torrent.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 03cc68436..3e2208d3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * fixed issue where trackers wouldn't tried immediately when the previous one failed * fixed synchronization issue between download queue and piece picker * fixed bug in udp tracker scrape response parsing * fixed bug in the disk thread that could get triggered under heavy load diff --git a/src/torrent.cpp b/src/torrent.cpp index a9a8fdd19..72b97ba33 100644 --- a/src/torrent.cpp +++ b/src/torrent.cpp @@ -6493,6 +6493,8 @@ namespace libtorrent m_ses.m_alerts.post_alert(scrape_failed_alert(get_handle(), r.url, ec)); } } + // announce to the next working tracker + announce_with_tracker(); update_tracker_timer(time_now()); }