1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

(trunk libT) #2518: overzealously alarmist re unresponsive trackers

This commit is contained in:
Charles Kerr 2009-10-27 21:03:13 +00:00
parent bcce43021f
commit 087f75e1ce

View file

@ -1266,7 +1266,8 @@ onAnnounceDone( tr_session * session,
/* The request could not be understood by the server due to
* malformed syntax. The client SHOULD NOT repeat the
* request without modifications. */
publishErrorMessageAndStop( tier, _( "Tracker returned a 4xx message" ) );
if( tr_torrentIsPrivate( tier->tor ) || ( tier->tor->info.trackerCount < 2 ) )
publishErrorMessageAndStop( tier, _( "Tracker returned a 4xx message" ) );
tier->manualAnnounceAllowedAt = ~(time_t)0;
}
else if( 500 <= responseCode && responseCode <= 599 )