From f3a2a35952d92102208734f28d0fd68e1f761208 Mon Sep 17 00:00:00 2001 From: Erick Turnquist Date: Sat, 7 Feb 2009 00:20:47 +0000 Subject: [PATCH] (trunk libT) only resolve ipv4 tracker addresses for now --- libtransmission/web.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libtransmission/web.c b/libtransmission/web.c index 65e63c09f..686fbfce5 100644 --- a/libtransmission/web.c +++ b/libtransmission/web.c @@ -185,6 +185,7 @@ addTask( void * vtask ) tr_free( str ); } + curl_easy_setopt( easy, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 ); curl_easy_setopt( easy, CURLOPT_DNS_CACHE_TIMEOUT, 360L ); curl_easy_setopt( easy, CURLOPT_CONNECTTIMEOUT, 60L ); curl_easy_setopt( easy, CURLOPT_FOLLOWLOCATION, 1L );