(trunk daemon): #1899: if the daemon isn't responding, timeout transmission-remote after 60 seconds.

This commit is contained in:
Charles Kerr 2009-03-10 00:10:20 +00:00
parent c756e244b3
commit e037e58411
1 changed files with 1 additions and 0 deletions

View File

@ -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 )