return 0;
}
-#if 0
static int
getCurlProxyType( tr_proxy_type t )
{
if( t == TR_PROXY_SOCKS5 ) return CURLPROXY_SOCKS5;
return CURLPROXY_HTTP;
}
-#endif
static int
getTimeoutFromURL( const char * url )
dbgmsg( "adding task #%lu [%s]", task->tag, task->url );
-/* experimentally disable proxies to see if that has any effect on the libevent crashes */
-#if 0
if( !task->range && session->isProxyEnabled ) {
curl_easy_setopt( e, CURLOPT_PROXY, session->proxy );
curl_easy_setopt( e, CURLOPT_PROXYAUTH, CURLAUTH_ANY );
curl_easy_setopt( e, CURLOPT_PROXYUSERPWD, str );
tr_free( str );
}
-#endif
task->easy = e;
task->multi = web->multi;