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:
parent
9dcd32530e
commit
20986a5dac
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue