(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:
Charles Kerr 2010-02-05 04:54:08 +00:00
parent 94517feeeb
commit 8b3fb8a5e8
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}