apply --connect-timeout option to all operations, not just connect
sure, it should be renamed, but i'm not trying to be general.
This commit is contained in:
1
ftpfs.c
1
ftpfs.c
@@ -1580,6 +1580,7 @@ static void set_common_curl_stuff(CURL* easy) {
|
||||
}
|
||||
|
||||
curl_easy_setopt_or_die(easy, CURLOPT_CONNECTTIMEOUT, ftpfs.connect_timeout);
|
||||
curl_easy_setopt_or_die(easy, CURLOPT_TIMEOUT, ftpfs.connect_timeout);
|
||||
|
||||
/* CURLFTPSSL_CONTROL and CURLFTPSSL_ALL should make the connection fail if
|
||||
* the server doesn't support SSL but libcurl only honors this beginning
|
||||
|
Reference in New Issue
Block a user