mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
(trunk libT) #2854 "`tracker did not respond' errors" -- lengthen the time we wait before timing out. This was shortened not too many releases ago to prevent a logjam from dead tpb tracker announces; however, we now have better ways of doing that and the short deadline may be contributing to the "did not respond" errors.
This commit is contained in:
@@ -293,8 +293,8 @@ getCurlProxyType( tr_proxy_type t )
|
||||
static int
|
||||
getTimeoutFromURL( const char * url )
|
||||
{
|
||||
if( strstr( url, "scrape" ) != NULL ) return 20;
|
||||
if( strstr( url, "announce" ) != NULL ) return 60;
|
||||
if( strstr( url, "scrape" ) != NULL ) return 30;
|
||||
if( strstr( url, "announce" ) != NULL ) return 120;
|
||||
return 240;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user