Skip to content

Commit

Permalink
don't disable announcing from local endpoints because of temporary fa…
Browse files Browse the repository at this point in the history
…ilures
  • Loading branch information
arvidn committed Dec 28, 2021
1 parent 7af8fe6 commit e797d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* don't disable announcing from local endpoints because of temporary failures
* fix issue in parsing UPnP XML response with multiple forwarding services

1.2.15 released
Expand Down
6 changes: 2 additions & 4 deletions src/torrent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11247,11 +11247,9 @@ bool is_downloading_state(int const st)
debug_log("*** increment tracker fail count [ep: %s url: %s %d]"
, print_endpoint(aep->local_endpoint).c_str(), r.url.c_str(), aep->fails);
#endif
// don't try to announce from this endpoint again
if (ec == boost::system::errc::address_family_not_supported
|| ec == boost::system::errc::host_unreachable
|| ec == lt::errors::announce_skipped)
if (ec == boost::system::errc::address_family_not_supported)
{
// don't try to announce from this endpoint again
aep->enabled = false;
#ifndef TORRENT_DISABLE_LOGGING
debug_log("*** disabling endpoint [ep: %s url: %s ]"
Expand Down

0 comments on commit e797d60

Please sign in to comment.