1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-13 01:44:40 +00:00

raise the timeout interval that we tell curl to use

This commit is contained in:
Charles Kerr 2008-05-08 17:15:06 +00:00
parent 9dcd32530e
commit 20986a5dac

View file

@ -142,7 +142,7 @@ addTask( void * vtask )
dbgmsg( "adding task #%lu [%s] (%d remain)", task->tag, task->url, web->remain );
ch = curl_easy_init( );
curl_easy_setopt( ch, CURLOPT_TIMEOUT, 30 );
curl_easy_setopt( ch, CURLOPT_TIMEOUT, 120 );
curl_easy_setopt( ch, CURLOPT_PRIVATE, task );
curl_easy_setopt( ch, CURLOPT_URL, task->url );
curl_easy_setopt( ch, CURLOPT_WRITEFUNCTION, writeFunc );