Changeset 12516


Ignore:
Timestamp:
Jun 25, 2011, 6:47:35 PM (10 years ago)
Author:
jordan
Message:

(trukn libT) lessen the importance of error messages returned by trackers in a multi-tracker torrent. It's all too often that people will load up a .torrent file with dozens of announce URLs, many of them dead...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/announcer.c

    r12507 r12516  
    10551055        else if( response->errmsg )
    10561056        {
    1057             publishError( tier, response->errmsg );
     1057            /* If the torrent's only tracker returned an error, publish it.
     1058               Don't bother publishing if there are other trackers -- it's
     1059               all too common for people to load up dozens of dead trackers
     1060               in a torrent's metainfo... */
     1061            if( tier->tor->info.trackerCount < 2 )
     1062                publishError( tier, response->errmsg );
     1063
    10581064            on_announce_error( tier, response->errmsg, event );
    10591065        }
Note: See TracChangeset for help on using the changeset viewer.