keep iterating over endpoints if one is found to be done
Even if one endpoint is done others may be ready to announce so we need to keep going. Fixes #1992
This commit is contained in:
parent
893ef6479f
commit
bc019f241b
|
@ -2753,7 +2753,7 @@ namespace libtorrent {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ae.tier > state.tier && state.sent_announce
|
if (ae.tier > state.tier && state.sent_announce
|
||||||
&& !settings().get_bool(settings_pack::announce_to_all_tiers)) break;
|
&& !settings().get_bool(settings_pack::announce_to_all_tiers)) continue;
|
||||||
if (aep.is_working()) { state.tier = ae.tier; state.sent_announce = false; }
|
if (aep.is_working()) { state.tier = ae.tier; state.sent_announce = false; }
|
||||||
if (!aep.can_announce(now, is_seed(), ae.fail_limit))
|
if (!aep.can_announce(now, is_seed(), ae.fail_limit))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue