From 9d56f3f459685ac655a39015992a15ee9da3baf9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 3 Aug 2010 03:00:54 +0000 Subject: [PATCH] restored default fail_limit to unlimited on all trackers --- ChangeLog | 1 + bindings/python/src/torrent_info.cpp | 2 +- include/libtorrent/torrent_info.hpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b077c804a..259e1da2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -39,6 +39,7 @@ incoming connection * added more detailed instrumentation of the disk I/O thread + * restored default fail_limit to unlimited on all trackers * fixed rate limit bug for DHT * fixed SOCKS5 bug for routing UDP packets * fixed bug on windows when verifying resume data for a torrent where diff --git a/bindings/python/src/torrent_info.cpp b/bindings/python/src/torrent_info.cpp index 3fb80283c..dfafc9db4 100644 --- a/bindings/python/src/torrent_info.cpp +++ b/bindings/python/src/torrent_info.cpp @@ -122,7 +122,7 @@ void bind_torrent_info() .def(init()) #endif - .def("add_tracker", &torrent_info::add_tracker, (arg("url"), arg("tier")=0)) + .def("add_tracker", &torrent_info::add_tracker, arg("url")) .def("add_url_seed", &torrent_info::add_url_seed) .def("name", &torrent_info::name, copy) diff --git a/include/libtorrent/torrent_info.hpp b/include/libtorrent/torrent_info.hpp index b00d4034d..d07a3788d 100644 --- a/include/libtorrent/torrent_info.hpp +++ b/include/libtorrent/torrent_info.hpp @@ -78,7 +78,7 @@ namespace libtorrent , next_announce(min_time()) , min_announce(min_time()) , tier(0) - , fail_limit(3) + , fail_limit(0) , fails(0) , source(0) , verified(false)