restored default fail_limit to unlimited on all trackers

This commit is contained in:
Arvid Norberg 2010-08-03 03:00:54 +00:00
parent 6ab555659c
commit 9d56f3f459
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -122,7 +122,7 @@ void bind_torrent_info()
.def(init<std::wstring>())
#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)

View File

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