mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
(trunk daemon): #1899: if the daemon isn't responding, timeout transmission-remote after 60 seconds.
This commit is contained in:
parent
c756e244b3
commit
e037e58411
1 changed files with 1 additions and 0 deletions
|
@ -1291,6 +1291,7 @@ processRequests( const char * host,
|
|||
curl_easy_setopt( curl, CURLOPT_URL, url );
|
||||
curl_easy_setopt( curl, CURLOPT_NETRC, CURL_NETRC_OPTIONAL );
|
||||
curl_easy_setopt( curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY );
|
||||
curl_easy_setopt( curl, CURLOPT_TIMEOUT, 60L );
|
||||
if( netrc )
|
||||
curl_easy_setopt( curl, CURLOPT_NETRC_FILE, netrc );
|
||||
if( auth )
|
||||
|
|
Loading…
Reference in a new issue