From 8b3fb8a5e8cd56e9b6b154f7d59379cec29f1b64 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Fri, 5 Feb 2010 04:54:08 +0000 Subject: [PATCH] (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. --- libtransmission/web.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/web.c b/libtransmission/web.c index c8835913c..841966a8d 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -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; }