Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions deps/curl/curl.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@
'lib/cf-dns.c',
'lib/cf-https-connect.c',
'lib/cf-ip-happy.c',
'lib/cf-setup.c',
'lib/cf-socket.c',
'lib/cfilters.c',
'lib/conncache.c',
'lib/connect.c',
'lib/content_encoding.c',
'lib/cookie.c',
'lib/creds.c',
'lib/cshutdn.c',
'lib/curl_addrinfo.c',
'lib/curl_endian.c',
Expand Down Expand Up @@ -90,6 +92,7 @@
'lib/netrc.c',
'lib/openldap.c',
'lib/parsedate.c',
'lib/peer.c',
'lib/pingpong.c',
'lib/pop3.c',
'lib/progress.c',
Expand Down Expand Up @@ -172,6 +175,7 @@
'lib/vtls/schannel.c',
'lib/vtls/schannel_verify.c',
'lib/vtls/vtls.c',
'lib/vtls/vtls_config.c',
'lib/vtls/vtls_scache.c',
'lib/vtls/vtls_spack.c',
'lib/vtls/x509asn1.c'
Expand Down
1 change: 1 addition & 0 deletions deps/curl/include/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ FILECMD = @FILECMD@
FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@
GCOV = @GCOV@
GREP = @GREP@
H2O = @H2O@
HAVE_LIBZ = @HAVE_LIBZ@
HTTPD = @HTTPD@
HTTPD_NGHTTPX = @HTTPD_NGHTTPX@
Expand Down
1 change: 1 addition & 0 deletions deps/curl/include/curl/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ FILECMD = @FILECMD@
FISH_FUNCTIONS_DIR = @FISH_FUNCTIONS_DIR@
GCOV = @GCOV@
GREP = @GREP@
H2O = @H2O@
HAVE_LIBZ = @HAVE_LIBZ@
HTTPD = @HTTPD@
HTTPD_NGHTTPX = @HTTPD_NGHTTPX@
Expand Down
60 changes: 32 additions & 28 deletions deps/curl/include/curl/curl.h
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ typedef int (*curl_xferinfo_callback)(void *clientp,

#ifndef CURL_MAX_READ_SIZE
/* The maximum receive buffer size configurable via CURLOPT_BUFFERSIZE. */
#define CURL_MAX_READ_SIZE (10*1024*1024)
#define CURL_MAX_READ_SIZE (10 * 1024 * 1024)
#endif

#ifndef CURL_MAX_WRITE_SIZE
Expand All @@ -269,7 +269,7 @@ typedef int (*curl_xferinfo_callback)(void *clientp,
/* The only reason to have a max limit for this is to avoid the risk of a bad
server feeding libcurl with a never-ending header that causes reallocs
infinitely */
#define CURL_MAX_HTTP_HEADER (100*1024)
#define CURL_MAX_HTTP_HEADER (100 * 1024)
#endif

/* This is a magic return code for the write callback that, when returned,
Expand Down Expand Up @@ -593,7 +593,7 @@ typedef enum {
CURLE_USE_SSL_FAILED, /* 64 - Requested FTP SSL level failed */
CURLE_SEND_FAIL_REWIND, /* 65 - Sending the data requires a rewind
that failed */
CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialise ENGINE */
CURLE_SSL_ENGINE_INITFAILED, /* 66 - failed to initialize ENGINE */
CURLE_LOGIN_DENIED, /* 67 - user, password or similar was not
accepted and we failed to login */
CURLE_TFTP_NOTFOUND, /* 68 - file not found on server */
Expand Down Expand Up @@ -802,9 +802,11 @@ typedef CURLcode (*curl_ssl_ctx_callback)(CURL *curl, /* easy handle */
#define CURLPROXY_SOCKS5_HOSTNAME 7L /* Use the SOCKS5 protocol but pass along
the hostname rather than the IP
address. added in 7.18.0 */
#define CURLPROXY_HTTPS3 8L /* HTTPS and attempt HTTP/3
added in 8.21.0 */

typedef enum {
CURLPROXY_LAST = 8 /* never use */
CURLPROXY_LAST = 9 /* never use */
} curl_proxytype; /* this enum was added in 7.10 */

/*
Expand All @@ -816,7 +818,7 @@ typedef enum {
* CURLAUTH_NEGOTIATE - HTTP Negotiate (SPNEGO) authentication
* CURLAUTH_GSSNEGOTIATE - Alias for CURLAUTH_NEGOTIATE (deprecated)
* CURLAUTH_NTLM - HTTP NTLM authentication
* CURLAUTH_DIGEST_IE - HTTP Digest authentication with IE flavour
* CURLAUTH_DIGEST_IE - HTTP Digest authentication with IE flavor
* CURLAUTH_NTLM_WB - HTTP NTLM authentication delegated to winbind helper
* CURLAUTH_BEARER - HTTP Bearer token authentication
* CURLAUTH_ONLY - Use together with a single other type to force no
Expand Down Expand Up @@ -902,16 +904,16 @@ enum curl_khmatch {
};

typedef int
(*curl_sshkeycallback) (CURL *easy, /* easy handle */
const struct curl_khkey *knownkey, /* known */
const struct curl_khkey *foundkey, /* found */
enum curl_khmatch, /* libcurl's view on the keys */
void *clientp); /* custom pointer passed with */
/* CURLOPT_SSH_KEYDATA */
(*curl_sshkeycallback)(CURL *easy, /* easy handle */
const struct curl_khkey *knownkey, /* known */
const struct curl_khkey *foundkey, /* found */
enum curl_khmatch, /* libcurl's view on the keys */
void *clientp); /* custom pointer passed with */
/* CURLOPT_SSH_KEYDATA */

typedef int
(*curl_sshhostkeycallback) (void *clientp,/* custom pointer passed */
/* with CURLOPT_SSH_HOSTKEYDATA */
(*curl_sshhostkeycallback)(void *clientp,/* custom pointer passed */
/* with CURLOPT_SSH_HOSTKEYDATA */
int keytype, /* CURLKHTYPE */
const char *key, /* hostkey to check */
size_t keylen); /* length of the key */
Expand All @@ -932,7 +934,7 @@ typedef enum {

/* - ALLOW_BEAST tells libcurl to allow the BEAST SSL vulnerability in the
name of improving interoperability with older servers. Some SSL libraries
have introduced work-arounds for this flaw but those work-arounds sometimes
have introduced workarounds for this flaw but those workarounds sometimes
make the SSL communication fail. To regain functionality with those broken
servers, a user can this way allow the vulnerability back. */
#define CURLSSLOPT_ALLOW_BEAST (1L << 0)
Expand Down Expand Up @@ -1362,7 +1364,7 @@ typedef enum {
CURLOPTDEPRECATED(CURLOPT_KRBLEVEL, CURLOPTTYPE_STRINGPOINT, 63,
8.17.0, "removed"),

/* Set if we should verify the peer in ssl handshake, set 1 to verify. */
/* Set if we should verify the peer in SSL handshake, set 1 to verify. */
CURLOPT(CURLOPT_SSL_VERIFYPEER, CURLOPTTYPE_LONG, 64),

/* The CApath or CAfile used to validate the peer certificate
Expand Down Expand Up @@ -1420,7 +1422,7 @@ typedef enum {
*/
CURLOPT(CURLOPT_HTTPGET, CURLOPTTYPE_LONG, 80),

/* Set if we should verify the Common name from the peer certificate in ssl
/* Set if we should verify the Common name from the peer certificate in SSL
* handshake, set 1 to check existence, 2 to ensure that it matches the
* provided hostname. */
CURLOPT(CURLOPT_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 81),
Expand Down Expand Up @@ -1494,8 +1496,8 @@ typedef enum {
CURLOPT(CURLOPT_SHARE, CURLOPTTYPE_OBJECTPOINT, 100),

/* indicates type of proxy. accepted values are CURLPROXY_HTTP (default),
CURLPROXY_HTTPS, CURLPROXY_SOCKS4, CURLPROXY_SOCKS4A and
CURLPROXY_SOCKS5. */
CURLPROXY_HTTPS, CURLPROXY_HTTPS2, CURLPROXY_HTTPS3, CURLPROXY_SOCKS4,
CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5. */
CURLOPT(CURLOPT_PROXYTYPE, CURLOPTTYPE_VALUES, 101),

/* Set the Accept-Encoding string. Use this to tell a server you would like
Expand Down Expand Up @@ -1524,12 +1526,12 @@ typedef enum {
Note that setting multiple bits may cause extra network round-trips. */
CURLOPT(CURLOPT_HTTPAUTH, CURLOPTTYPE_VALUES, 107),

/* Set the ssl context callback function, currently only for OpenSSL or
/* Set the SSL context callback function, currently only for OpenSSL or
wolfSSL ssl_ctx, or mbedTLS mbedtls_ssl_config in the second argument.
The function must match the curl_ssl_ctx_callback prototype. */
CURLOPT(CURLOPT_SSL_CTX_FUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 108),

/* Set the userdata for the ssl context callback function's third
/* Set the userdata for the SSL context callback function's third
argument */
CURLOPT(CURLOPT_SSL_CTX_DATA, CURLOPTTYPE_CBPOINT, 109),

Expand Down Expand Up @@ -1935,11 +1937,11 @@ typedef enum {
/* Set authentication options directly */
CURLOPT(CURLOPT_LOGIN_OPTIONS, CURLOPTTYPE_STRINGPOINT, 224),

/* Enable/disable TLS NPN extension (http2 over ssl might fail without) */
/* Enable/disable TLS NPN extension (http2 over SSL might fail without) */
CURLOPTDEPRECATED(CURLOPT_SSL_ENABLE_NPN, CURLOPTTYPE_LONG, 225,
7.86.0, "Has no function"),

/* Enable/disable TLS ALPN extension (http2 over ssl might fail without) */
/* Enable/disable TLS ALPN extension (http2 over SSL might fail without) */
CURLOPT(CURLOPT_SSL_ENABLE_ALPN, CURLOPTTYPE_LONG, 226),

/* Time to wait for a response to an HTTP request containing an
Expand Down Expand Up @@ -1985,10 +1987,12 @@ typedef enum {
CURLOPT(CURLOPT_STREAM_WEIGHT, CURLOPTTYPE_LONG, 239),

/* Set stream dependency on another curl handle */
CURLOPT(CURLOPT_STREAM_DEPENDS, CURLOPTTYPE_OBJECTPOINT, 240),
CURLOPTDEPRECATED(CURLOPT_STREAM_DEPENDS, CURLOPTTYPE_OBJECTPOINT, 240,
8.21.0, "Has no function"),

/* Set E-xclusive stream dependency on another curl handle */
CURLOPT(CURLOPT_STREAM_DEPENDS_E, CURLOPTTYPE_OBJECTPOINT, 241),
CURLOPTDEPRECATED(CURLOPT_STREAM_DEPENDS_E, CURLOPTTYPE_OBJECTPOINT, 241,
8.21.0, "Has no function"),

/* Do not send any tftp option requests to the server */
CURLOPT(CURLOPT_TFTP_NO_OPTIONS, CURLOPTTYPE_LONG, 242),
Expand All @@ -2012,11 +2016,11 @@ typedef enum {
this option is used only if PROXY_SSL_VERIFYPEER is true */
CURLOPT(CURLOPT_PROXY_CAPATH, CURLOPTTYPE_STRINGPOINT, 247),

/* Set if we should verify the proxy in ssl handshake,
/* Set if we should verify the proxy in SSL handshake,
set 1 to verify. */
CURLOPT(CURLOPT_PROXY_SSL_VERIFYPEER, CURLOPTTYPE_LONG, 248),

/* Set if we should verify the Common name from the proxy certificate in ssl
/* Set if we should verify the Common name from the proxy certificate in SSL
* handshake, set 1 to check existence, 2 to ensure that it matches
* the provided hostname. */
CURLOPT(CURLOPT_PROXY_SSL_VERIFYHOST, CURLOPTTYPE_LONG, 249),
Expand Down Expand Up @@ -2808,14 +2812,14 @@ struct curl_slist {
* backend can also be specified via the name parameter (passing -1 as id). If
* both id and name are specified, the name is ignored. If neither id nor
* name are specified, the function fails with CURLSSLSET_UNKNOWN_BACKEND
* and set the "avail" pointer to the NULL-terminated list of available
* and set the "avail" pointer to the null-terminated list of available
* backends.
*
* Upon success, the function returns CURLSSLSET_OK.
*
* If the specified SSL backend is not available, the function returns
* CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a
* NULL-terminated list of available SSL backends.
* null-terminated list of available SSL backends.
*
* The SSL backend can be set only once. If it has already been set, a
* subsequent attempt to change it results in a CURLSSLSET_TOO_LATE.
Expand Down
10 changes: 5 additions & 5 deletions deps/curl/include/curl/curlver.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@

/* This is the version number of the libcurl package from which this header
file origins: */
#define LIBCURL_VERSION "8.20.0"
#define LIBCURL_VERSION "8.21.0"

/* The numeric version number is also available "in parts" by using these
defines: */
#define LIBCURL_VERSION_MAJOR 8
#define LIBCURL_VERSION_MINOR 20
#define LIBCURL_VERSION_MINOR 21
#define LIBCURL_VERSION_PATCH 0
/* This is the numeric version of the libcurl version number, meant for easier
parsing and comparisons by programs. The LIBCURL_VERSION_NUM define always
Expand All @@ -47,7 +47,7 @@

Where XX, YY and ZZ are the main version, release and patch numbers in
hexadecimal (using 8 bits each). All three numbers are always represented
using two digits. 1.2 would appear as "0x010200" while version 9.11.7
using two digits. Version 1.2 would appear as "0x010200" while 9.11.7
appears as "0x090b07".

This 6-digit (24 bits) hexadecimal number does not show pre-release number,
Expand All @@ -58,7 +58,7 @@
CURL_VERSION_BITS() macro since curl's own configure script greps for it
and needs it to contain the full number.
*/
#define LIBCURL_VERSION_NUM 0x081400
#define LIBCURL_VERSION_NUM 0x081500

/*
* This is the date and time when the full source package was created. The
Expand All @@ -69,7 +69,7 @@
*
* "2007-11-23"
*/
#define LIBCURL_TIMESTAMP "2026-04-29"
#define LIBCURL_TIMESTAMP "2026-06-24"

#define CURL_VERSION_BITS(x, y, z) ((x) << 16 | (y) << 8 | (z))
#define CURL_AT_LEAST_VERSION(x, y, z) \
Expand Down
2 changes: 1 addition & 1 deletion deps/curl/include/curl/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@
/* ===================================== */

#elif defined(_MSC_VER)
# if (_MSC_VER >= 1800)
# if _MSC_VER >= 1800
# include <inttypes.h>
# define CURL_FORMAT_CURL_OFF_T PRId64
# define CURL_FORMAT_CURL_OFF_TU PRIu64
Expand Down
5 changes: 2 additions & 3 deletions deps/curl/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,7 @@ if(SHARE_LIB_OBJECT)
set_property(TARGET ${LIB_OBJECT} APPEND PROPERTY COMPILE_DEFINITIONS "CURL_STATICLIB")
endif()
target_link_libraries(${LIB_OBJECT} PRIVATE ${CURL_LIBS})
set_target_properties(${LIB_OBJECT} PROPERTIES
POSITION_INDEPENDENT_CODE ON)
set_target_properties(${LIB_OBJECT} PROPERTIES POSITION_INDEPENDENT_CODE ON)
set_property(TARGET ${LIB_OBJECT} APPEND PROPERTY COMPILE_OPTIONS "${CURL_CFLAGS}")
if(CURL_HIDES_PRIVATE_SYMBOLS)
set_property(TARGET ${LIB_OBJECT} APPEND PROPERTY COMPILE_OPTIONS "${CURL_CFLAG_SYMBOLS_HIDE}")
Expand Down Expand Up @@ -253,7 +252,7 @@ if(BUILD_SHARED_LIBS)
CMAKE_SYSTEM_NAME STREQUAL "Haiku" OR
CMAKE_SYSTEM_NAME STREQUAL "OHOS" OR # OpenHarmony
CMAKE_SYSTEM_NAME STREQUAL "GNU/kFreeBSD" OR
# FreeBSD comes with the a.out and ELF flavours but a.out was supported
# FreeBSD comes with the a.out and ELF flavors but a.out was supported
# up to v3.x and ELF from v3.x. I cannot imagine someone running CMake
# on those ancient systems.
CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
Expand Down
Loading
Loading