Add secure libcurl transfer backend

This commit is contained in:
Mario Fetka
2026-07-14 17:01:03 +02:00
parent f3e6580ce5
commit 4a80e32f3e
19 changed files with 361 additions and 88 deletions
+7 -1
View File
@@ -81,7 +81,10 @@ typedef enum {
FILEISDIR,
MIRINFOK, MIRPARSEOK, MIRPARSEFAIL, FILEGETOK,
/*Related to file joining */
JOININPROGRESS, JOINDONE, JOINERR
JOININPROGRESS, JOINDONE, JOINERR,
/* Secure protocols are appended to preserve the historical ABI values. */
URLHTTPS, URLFTPS, URLSFTP
} uerr_t;
@@ -91,6 +94,9 @@ typedef enum {
#define DEFAULT_FTP_PORT 21
#define DEFAULT_HTTP_PORT 80
#define DEFAULT_HTTPS_PORT 443
#define DEFAULT_FTPS_PORT 990
#define DEFAULT_SFTP_PORT 22
/* This is used when no password is found or specified. */
#define DEFAULT_FTP_USER "anonymous"