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:
2024-03-31 22:13:33 +00:00
parent 9adc8d7335
commit a413f33126

View File

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