@crossbind/port-curl-ios 2.0.0-beta.53 → 2.0.0-beta.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/curl.xcframework/Info.plist +4 -4
  2. package/curl.xcframework/ios-arm64/Headers/curl/curl.h +42 -16
  3. package/curl.xcframework/ios-arm64/Headers/curl/curlver.h +5 -6
  4. package/curl.xcframework/ios-arm64/Headers/curl/multi.h +14 -14
  5. package/curl.xcframework/ios-arm64/Headers/curl/typecheck-gcc.h +7 -3
  6. package/curl.xcframework/ios-arm64/Headers/curl/urlapi.h +1 -0
  7. package/curl.xcframework/ios-arm64/libcurl.a +0 -0
  8. package/curl.xcframework/ios-arm64-simulator/Headers/curl/curl.h +42 -16
  9. package/curl.xcframework/ios-arm64-simulator/Headers/curl/curlver.h +5 -6
  10. package/curl.xcframework/ios-arm64-simulator/Headers/curl/multi.h +14 -14
  11. package/curl.xcframework/ios-arm64-simulator/Headers/curl/typecheck-gcc.h +7 -3
  12. package/curl.xcframework/ios-arm64-simulator/Headers/curl/urlapi.h +1 -0
  13. package/curl.xcframework/ios-arm64-simulator/libcurl.a +0 -0
  14. package/dist/prebuilt/ios-iphoneos-mt-release/crossbind-source.fingerprint +1 -1
  15. package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/curl.h +42 -16
  16. package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/curlver.h +5 -6
  17. package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/multi.h +14 -14
  18. package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/typecheck-gcc.h +7 -3
  19. package/dist/prebuilt/ios-iphoneos-mt-release/include/curl/urlapi.h +1 -0
  20. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/CURLConfig.cmake +5 -5
  21. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/CURLConfigVersion.cmake +3 -3
  22. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/CURLTargets.cmake +1 -1
  23. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindGSS.cmake +130 -112
  24. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindLibgsasl.cmake +1 -0
  25. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindNettle.cmake +13 -9
  26. package/dist/prebuilt/ios-iphoneos-mt-release/lib/cmake/CURL/FindZstd.cmake +2 -2
  27. package/dist/prebuilt/ios-iphoneos-mt-release/lib/libcurl.a +0 -0
  28. package/dist/prebuilt/ios-iphoneos-mt-release/lib/pkgconfig/libcurl.pc +8 -5
  29. package/dist/prebuilt/ios-iphoneos-mt-release/share/man/man1/curl-config.1 +1 -1
  30. package/dist/prebuilt/ios-iphonesimulator-mt-release/crossbind-source.fingerprint +1 -1
  31. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/curl.h +42 -16
  32. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/curlver.h +5 -6
  33. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/multi.h +14 -14
  34. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/typecheck-gcc.h +7 -3
  35. package/dist/prebuilt/ios-iphonesimulator-mt-release/include/curl/urlapi.h +1 -0
  36. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/CURLConfig.cmake +5 -5
  37. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/CURLConfigVersion.cmake +3 -3
  38. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/CURLTargets.cmake +1 -1
  39. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindGSS.cmake +130 -112
  40. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindLibgsasl.cmake +1 -0
  41. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindNettle.cmake +13 -9
  42. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/cmake/CURL/FindZstd.cmake +2 -2
  43. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/libcurl.a +0 -0
  44. package/dist/prebuilt/ios-iphonesimulator-mt-release/lib/pkgconfig/libcurl.pc +8 -5
  45. package/dist/prebuilt/ios-iphonesimulator-mt-release/share/man/man1/curl-config.1 +1 -1
  46. package/package.json +5 -5
@@ -10,7 +10,7 @@
10
10
  <key>HeadersPath</key>
11
11
  <string>Headers</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64-simulator</string>
13
+ <string>ios-arm64</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>libcurl.a</string>
16
16
  <key>SupportedArchitectures</key>
@@ -19,8 +19,6 @@
19
19
  </array>
20
20
  <key>SupportedPlatform</key>
21
21
  <string>ios</string>
22
- <key>SupportedPlatformVariant</key>
23
- <string>simulator</string>
24
22
  </dict>
25
23
  <dict>
26
24
  <key>BinaryPath</key>
@@ -28,7 +26,7 @@
28
26
  <key>HeadersPath</key>
29
27
  <string>Headers</string>
30
28
  <key>LibraryIdentifier</key>
31
- <string>ios-arm64</string>
29
+ <string>ios-arm64-simulator</string>
32
30
  <key>LibraryPath</key>
33
31
  <string>libcurl.a</string>
34
32
  <key>SupportedArchitectures</key>
@@ -37,6 +35,8 @@
37
35
  </array>
38
36
  <key>SupportedPlatform</key>
39
37
  <string>ios</string>
38
+ <key>SupportedPlatformVariant</key>
39
+ <string>simulator</string>
40
40
  </dict>
41
41
  </array>
42
42
  <key>CFBundlePackageType</key>
@@ -93,7 +93,9 @@
93
93
  defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \
94
94
  (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \
95
95
  (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) || \
96
- defined(__sun__) || defined(__serenity__) || defined(__vxworks__)
96
+ defined(__sun__) || defined(__serenity__) || defined(__vxworks__) || \
97
+ (defined(__linux__) && defined(_POSIX_C_SOURCE) && \
98
+ _POSIX_C_SOURCE >= 200112L)
97
99
  #include <sys/select.h>
98
100
  #endif
99
101
 
@@ -632,7 +634,7 @@ typedef enum {
632
634
  match */
633
635
  CURLE_SSL_INVALIDCERTSTATUS, /* 91 - invalid certificate status */
634
636
  CURLE_HTTP2_STREAM, /* 92 - stream error in HTTP/2 framing layer
635
- */
637
+ */
636
638
  CURLE_RECURSIVE_API_CALL, /* 93 - an api function was called from
637
639
  inside a callback */
638
640
  CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
@@ -843,12 +845,20 @@ typedef enum {
843
845
  #endif
844
846
  #define CURLAUTH_BEARER (((unsigned long)1) << 6)
845
847
  #define CURLAUTH_AWS_SIGV4 (((unsigned long)1) << 7)
848
+ #define CURLAUTH_HTTPSIG (((unsigned long)1) << 8)
846
849
  #define CURLAUTH_ONLY (((unsigned long)1) << 31)
847
- #define CURLAUTH_ANY ((~CURLAUTH_DIGEST_IE) & \
850
+ #define CURLAUTH_ANY ((~(CURLAUTH_DIGEST_IE | \
851
+ CURLAUTH_HTTPSIG)) & \
848
852
  ((unsigned long)0xffffffff))
849
- #define CURLAUTH_ANYSAFE ((~(CURLAUTH_BASIC | CURLAUTH_DIGEST_IE)) & \
853
+ #define CURLAUTH_ANYSAFE ((~(CURLAUTH_BASIC | CURLAUTH_DIGEST_IE | \
854
+ CURLAUTH_HTTPSIG)) & \
850
855
  ((unsigned long)0xffffffff))
851
856
 
857
+ /* constants for CURLOPT_HTTPSIG_ALGORITHM */
858
+ #define CURLHTTPSIG_NONE 0L
859
+ #define CURLHTTPSIG_ED25519 1L
860
+ #define CURLHTTPSIG_HMAC_SHA256 2L
861
+
852
862
  /* all types supported by server */
853
863
  #define CURLSSH_AUTH_ANY ((unsigned long)0xffffffff)
854
864
  #define CURLSSH_AUTH_NONE 0L /* none allowed, silly but complete */
@@ -1537,8 +1547,7 @@ typedef enum {
1537
1547
 
1538
1548
  /* FTP Option that causes missing dirs to be created on the remote server.
1539
1549
  In 7.19.4 we introduced the convenience enums for this option using the
1540
- CURLFTP_CREATE_DIR prefix.
1541
- */
1550
+ CURLFTP_CREATE_DIR prefix. */
1542
1551
  CURLOPT(CURLOPT_FTP_CREATE_MISSING_DIRS, CURLOPTTYPE_LONG, 110),
1543
1552
 
1544
1553
  /* Set this to a bitmask value to enable the particular authentications
@@ -1589,7 +1598,7 @@ typedef enum {
1589
1598
  CURLUSESSL_TRY - try using SSL, proceed anyway otherwise
1590
1599
  CURLUSESSL_CONTROL - SSL for the control connection or fail
1591
1600
  CURLUSESSL_ALL - SSL for all communication or fail
1592
- */
1601
+ */
1593
1602
  CURLOPT(CURLOPT_USE_SSL, CURLOPTTYPE_VALUES, 119),
1594
1603
 
1595
1604
  /* The _LARGE version of the standard POSTFIELDSIZE option */
@@ -1615,7 +1624,7 @@ typedef enum {
1615
1624
  CURLFTPAUTH_DEFAULT - let libcurl decide
1616
1625
  CURLFTPAUTH_SSL - try "AUTH SSL" first, then TLS
1617
1626
  CURLFTPAUTH_TLS - try "AUTH TLS" first, then SSL
1618
- */
1627
+ */
1619
1628
  CURLOPT(CURLOPT_FTPSSLAUTH, CURLOPTTYPE_VALUES, 129),
1620
1629
 
1621
1630
  CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
@@ -1650,8 +1659,7 @@ typedef enum {
1650
1659
  CURLOPT(CURLOPT_LOCALPORT, CURLOPTTYPE_LONG, 139),
1651
1660
 
1652
1661
  /* Number of ports to try, including the first one set with LOCALPORT.
1653
- Thus, setting it to 1 makes no additional attempts but the first.
1654
- */
1662
+ Thus, setting it to 1 makes no additional attempts but the first. */
1655
1663
  CURLOPT(CURLOPT_LOCALPORTRANGE, CURLOPTTYPE_LONG, 140),
1656
1664
 
1657
1665
  /* no transfer, set up connection and let application use the socket by
@@ -1863,13 +1871,16 @@ typedef enum {
1863
1871
  CURLOPT(CURLOPT_RESOLVE, CURLOPTTYPE_SLISTPOINT, 203),
1864
1872
 
1865
1873
  /* Set a username for authenticated TLS */
1866
- CURLOPT(CURLOPT_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 204),
1874
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 204,
1875
+ 8.22.0, "Support was removed"),
1867
1876
 
1868
1877
  /* Set a password for authenticated TLS */
1869
- CURLOPT(CURLOPT_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 205),
1878
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 205,
1879
+ 8.22.0, "Support was removed"),
1870
1880
 
1871
1881
  /* Set authentication type for authenticated TLS */
1872
- CURLOPT(CURLOPT_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 206),
1882
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 206,
1883
+ 8.22.0, "Support was removed"),
1873
1884
 
1874
1885
  /* Set to 1 to enable the "TE:" header in HTTP requests to ask for
1875
1886
  compressed transfer-encoded responses. Set to 0 to disable the use of TE:
@@ -2030,13 +2041,16 @@ typedef enum {
2030
2041
  CURLOPT(CURLOPT_PROXY_SSLVERSION, CURLOPTTYPE_VALUES, 250),
2031
2042
 
2032
2043
  /* Set a username for authenticated TLS for proxy */
2033
- CURLOPT(CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 251),
2044
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT,
2045
+ 251, 8.22.0, "Support was removed"),
2034
2046
 
2035
2047
  /* Set a password for authenticated TLS for proxy */
2036
- CURLOPT(CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 252),
2048
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT,
2049
+ 252, 8.22.0, "Support was removed"),
2037
2050
 
2038
2051
  /* Set authentication type for authenticated TLS for proxy */
2039
- CURLOPT(CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 253),
2052
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 253,
2053
+ 8.22.0, "Support was removed"),
2040
2054
 
2041
2055
  /* name of the file keeping your private SSL-certificate for proxy */
2042
2056
  CURLOPT(CURLOPT_PROXY_SSLCERT, CURLOPTTYPE_STRINGPOINT, 254),
@@ -2262,6 +2276,18 @@ typedef enum {
2262
2276
  /* set TLS supported signature algorithms */
2263
2277
  CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328),
2264
2278
 
2279
+ /* RFC 9421 HTTP Message Signatures algorithm */
2280
+ CURLOPT(CURLOPT_HTTPSIG_ALGORITHM, CURLOPTTYPE_VALUES, 329),
2281
+
2282
+ /* Hex-encoded key for HTTP Message Signatures */
2283
+ CURLOPT(CURLOPT_HTTPSIG_KEY, CURLOPTTYPE_STRINGPOINT, 330),
2284
+
2285
+ /* Key identifier for HTTP Message Signatures */
2286
+ CURLOPT(CURLOPT_HTTPSIG_KEYID, CURLOPTTYPE_STRINGPOINT, 331),
2287
+
2288
+ /* Space-separated list of components to sign for HTTP Message Signatures */
2289
+ CURLOPT(CURLOPT_HTTPSIG_HEADERS, CURLOPTTYPE_STRINGPOINT, 332),
2290
+
2265
2291
  CURLOPT_LASTENTRY /* the last unused */
2266
2292
  } CURLoption;
2267
2293
 
@@ -32,12 +32,12 @@
32
32
 
33
33
  /* This is the version number of the libcurl package from which this header
34
34
  file origins: */
35
- #define LIBCURL_VERSION "8.21.0"
35
+ #define LIBCURL_VERSION "8.22.0"
36
36
 
37
37
  /* The numeric version number is also available "in parts" by using these
38
38
  defines: */
39
39
  #define LIBCURL_VERSION_MAJOR 8
40
- #define LIBCURL_VERSION_MINOR 21
40
+ #define LIBCURL_VERSION_MINOR 22
41
41
  #define LIBCURL_VERSION_PATCH 0
42
42
  /* This is the numeric version of the libcurl version number, meant for easier
43
43
  parsing and comparisons by programs. The LIBCURL_VERSION_NUM define always
@@ -56,9 +56,8 @@
56
56
 
57
57
  Note: This define is the full hex number and _does not_ use the
58
58
  CURL_VERSION_BITS() macro since curl's own configure script greps for it
59
- and needs it to contain the full number.
60
- */
61
- #define LIBCURL_VERSION_NUM 0x081500
59
+ and needs it to contain the full number. */
60
+ #define LIBCURL_VERSION_NUM 0x081600
62
61
 
63
62
  /*
64
63
  * This is the date and time when the full source package was created. The
@@ -69,7 +68,7 @@
69
68
  *
70
69
  * "2007-11-23"
71
70
  */
72
- #define LIBCURL_TIMESTAMP "2026-06-24"
71
+ #define LIBCURL_TIMESTAMP "2026-09-02"
73
72
 
74
73
  #define CURL_VERSION_BITS(x, y, z) ((x) << 16 | (y) << 8 | (z))
75
74
  #define CURL_AT_LEAST_VERSION(x, y, z) \
@@ -24,20 +24,20 @@
24
24
  *
25
25
  ***************************************************************************/
26
26
  /*
27
- This is an "external" header file. Do not give away any internals here!
28
-
29
- GOALS
30
-
31
- o Enable a "pull" interface. The application that uses libcurl decides where
32
- and when to ask libcurl to get/send data.
33
-
34
- o Enable multiple simultaneous transfers in the same thread without making it
35
- complicated for the application.
36
-
37
- o Enable the application to select() on its own file descriptors and curl's
38
- file descriptors simultaneous easily.
39
-
40
- */
27
+ * This is an "external" header file. Do not give away any internals here!
28
+ *
29
+ * GOALS
30
+ *
31
+ * o Enable a "pull" interface. The application that uses libcurl decides where
32
+ * and when to ask libcurl to get/send data.
33
+ *
34
+ * o Enable multiple simultaneous transfers in the same thread without making
35
+ * it complicated for the application.
36
+ *
37
+ * o Enable the application to select() on its own file descriptors and curl's
38
+ * file descriptors simultaneous easily.
39
+ *
40
+ */
41
41
 
42
42
  /*
43
43
  * This header file should not really need to include "curl.h" since curl.h
@@ -496,6 +496,9 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
496
496
  (option) == CURLOPT_USERAGENT || \
497
497
  (option) == CURLOPT_USERNAME || \
498
498
  (option) == CURLOPT_AWS_SIGV4 || \
499
+ (option) == CURLOPT_HTTPSIG_HEADERS || \
500
+ (option) == CURLOPT_HTTPSIG_KEY || \
501
+ (option) == CURLOPT_HTTPSIG_KEYID || \
499
502
  (option) == CURLOPT_USERPWD || \
500
503
  (option) == CURLOPT_XOAUTH2_BEARER || \
501
504
  0)
@@ -605,9 +608,10 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
605
608
  * == or whatsoever.
606
609
  */
607
610
 
608
- /* XXX: should evaluate to true if expr is a pointer */
611
+ /* XXX: should evaluate to true if expr is a pointer or a char[] array */
609
612
  #define curlcheck_any_ptr(expr) \
610
- (sizeof(expr) == sizeof(void *))
613
+ (sizeof(expr) == sizeof(void *) || \
614
+ __builtin_types_compatible_p(__typeof__(expr), char[]))
611
615
 
612
616
  /* evaluates to true if expr is NULL */
613
617
  /* XXX: must not evaluate expr, so this check is not accurate */
@@ -674,7 +678,7 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
674
678
  (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))
675
679
 
676
680
  /* evaluates to true if expr is abuffer suitable for CURLOPT_ERRORBUFFER */
677
- /* XXX: also check size of an char[] array? */
681
+ /* XXX: also check size of a char[] array? */
678
682
  #define curlcheck_error_buffer(expr) \
679
683
  (curlcheck_NULL(expr) || \
680
684
  __builtin_types_compatible_p(__typeof__(expr), char *) || \
@@ -64,6 +64,7 @@ typedef enum {
64
64
  CURLUE_BAD_USER, /* 29 */
65
65
  CURLUE_LACKS_IDN, /* 30 */
66
66
  CURLUE_TOO_LARGE, /* 31 */
67
+ CURLUE_BACKSLASH, /* 32 */
67
68
  CURLUE_LAST
68
69
  } CURLUcode;
69
70
 
@@ -93,7 +93,9 @@
93
93
  defined(__CYGWIN__) || defined(AMIGA) || defined(__NuttX__) || \
94
94
  (defined(__FreeBSD_version) && (__FreeBSD_version < 800000)) || \
95
95
  (defined(__MidnightBSD_version) && (__MidnightBSD_version < 100000)) || \
96
- defined(__sun__) || defined(__serenity__) || defined(__vxworks__)
96
+ defined(__sun__) || defined(__serenity__) || defined(__vxworks__) || \
97
+ (defined(__linux__) && defined(_POSIX_C_SOURCE) && \
98
+ _POSIX_C_SOURCE >= 200112L)
97
99
  #include <sys/select.h>
98
100
  #endif
99
101
 
@@ -632,7 +634,7 @@ typedef enum {
632
634
  match */
633
635
  CURLE_SSL_INVALIDCERTSTATUS, /* 91 - invalid certificate status */
634
636
  CURLE_HTTP2_STREAM, /* 92 - stream error in HTTP/2 framing layer
635
- */
637
+ */
636
638
  CURLE_RECURSIVE_API_CALL, /* 93 - an api function was called from
637
639
  inside a callback */
638
640
  CURLE_AUTH_ERROR, /* 94 - an authentication function returned an
@@ -843,12 +845,20 @@ typedef enum {
843
845
  #endif
844
846
  #define CURLAUTH_BEARER (((unsigned long)1) << 6)
845
847
  #define CURLAUTH_AWS_SIGV4 (((unsigned long)1) << 7)
848
+ #define CURLAUTH_HTTPSIG (((unsigned long)1) << 8)
846
849
  #define CURLAUTH_ONLY (((unsigned long)1) << 31)
847
- #define CURLAUTH_ANY ((~CURLAUTH_DIGEST_IE) & \
850
+ #define CURLAUTH_ANY ((~(CURLAUTH_DIGEST_IE | \
851
+ CURLAUTH_HTTPSIG)) & \
848
852
  ((unsigned long)0xffffffff))
849
- #define CURLAUTH_ANYSAFE ((~(CURLAUTH_BASIC | CURLAUTH_DIGEST_IE)) & \
853
+ #define CURLAUTH_ANYSAFE ((~(CURLAUTH_BASIC | CURLAUTH_DIGEST_IE | \
854
+ CURLAUTH_HTTPSIG)) & \
850
855
  ((unsigned long)0xffffffff))
851
856
 
857
+ /* constants for CURLOPT_HTTPSIG_ALGORITHM */
858
+ #define CURLHTTPSIG_NONE 0L
859
+ #define CURLHTTPSIG_ED25519 1L
860
+ #define CURLHTTPSIG_HMAC_SHA256 2L
861
+
852
862
  /* all types supported by server */
853
863
  #define CURLSSH_AUTH_ANY ((unsigned long)0xffffffff)
854
864
  #define CURLSSH_AUTH_NONE 0L /* none allowed, silly but complete */
@@ -1537,8 +1547,7 @@ typedef enum {
1537
1547
 
1538
1548
  /* FTP Option that causes missing dirs to be created on the remote server.
1539
1549
  In 7.19.4 we introduced the convenience enums for this option using the
1540
- CURLFTP_CREATE_DIR prefix.
1541
- */
1550
+ CURLFTP_CREATE_DIR prefix. */
1542
1551
  CURLOPT(CURLOPT_FTP_CREATE_MISSING_DIRS, CURLOPTTYPE_LONG, 110),
1543
1552
 
1544
1553
  /* Set this to a bitmask value to enable the particular authentications
@@ -1589,7 +1598,7 @@ typedef enum {
1589
1598
  CURLUSESSL_TRY - try using SSL, proceed anyway otherwise
1590
1599
  CURLUSESSL_CONTROL - SSL for the control connection or fail
1591
1600
  CURLUSESSL_ALL - SSL for all communication or fail
1592
- */
1601
+ */
1593
1602
  CURLOPT(CURLOPT_USE_SSL, CURLOPTTYPE_VALUES, 119),
1594
1603
 
1595
1604
  /* The _LARGE version of the standard POSTFIELDSIZE option */
@@ -1615,7 +1624,7 @@ typedef enum {
1615
1624
  CURLFTPAUTH_DEFAULT - let libcurl decide
1616
1625
  CURLFTPAUTH_SSL - try "AUTH SSL" first, then TLS
1617
1626
  CURLFTPAUTH_TLS - try "AUTH TLS" first, then SSL
1618
- */
1627
+ */
1619
1628
  CURLOPT(CURLOPT_FTPSSLAUTH, CURLOPTTYPE_VALUES, 129),
1620
1629
 
1621
1630
  CURLOPTDEPRECATED(CURLOPT_IOCTLFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 130,
@@ -1650,8 +1659,7 @@ typedef enum {
1650
1659
  CURLOPT(CURLOPT_LOCALPORT, CURLOPTTYPE_LONG, 139),
1651
1660
 
1652
1661
  /* Number of ports to try, including the first one set with LOCALPORT.
1653
- Thus, setting it to 1 makes no additional attempts but the first.
1654
- */
1662
+ Thus, setting it to 1 makes no additional attempts but the first. */
1655
1663
  CURLOPT(CURLOPT_LOCALPORTRANGE, CURLOPTTYPE_LONG, 140),
1656
1664
 
1657
1665
  /* no transfer, set up connection and let application use the socket by
@@ -1863,13 +1871,16 @@ typedef enum {
1863
1871
  CURLOPT(CURLOPT_RESOLVE, CURLOPTTYPE_SLISTPOINT, 203),
1864
1872
 
1865
1873
  /* Set a username for authenticated TLS */
1866
- CURLOPT(CURLOPT_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 204),
1874
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 204,
1875
+ 8.22.0, "Support was removed"),
1867
1876
 
1868
1877
  /* Set a password for authenticated TLS */
1869
- CURLOPT(CURLOPT_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 205),
1878
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 205,
1879
+ 8.22.0, "Support was removed"),
1870
1880
 
1871
1881
  /* Set authentication type for authenticated TLS */
1872
- CURLOPT(CURLOPT_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 206),
1882
+ CURLOPTDEPRECATED(CURLOPT_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 206,
1883
+ 8.22.0, "Support was removed"),
1873
1884
 
1874
1885
  /* Set to 1 to enable the "TE:" header in HTTP requests to ask for
1875
1886
  compressed transfer-encoded responses. Set to 0 to disable the use of TE:
@@ -2030,13 +2041,16 @@ typedef enum {
2030
2041
  CURLOPT(CURLOPT_PROXY_SSLVERSION, CURLOPTTYPE_VALUES, 250),
2031
2042
 
2032
2043
  /* Set a username for authenticated TLS for proxy */
2033
- CURLOPT(CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT, 251),
2044
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_USERNAME, CURLOPTTYPE_STRINGPOINT,
2045
+ 251, 8.22.0, "Support was removed"),
2034
2046
 
2035
2047
  /* Set a password for authenticated TLS for proxy */
2036
- CURLOPT(CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT, 252),
2048
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_PASSWORD, CURLOPTTYPE_STRINGPOINT,
2049
+ 252, 8.22.0, "Support was removed"),
2037
2050
 
2038
2051
  /* Set authentication type for authenticated TLS for proxy */
2039
- CURLOPT(CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 253),
2052
+ CURLOPTDEPRECATED(CURLOPT_PROXY_TLSAUTH_TYPE, CURLOPTTYPE_STRINGPOINT, 253,
2053
+ 8.22.0, "Support was removed"),
2040
2054
 
2041
2055
  /* name of the file keeping your private SSL-certificate for proxy */
2042
2056
  CURLOPT(CURLOPT_PROXY_SSLCERT, CURLOPTTYPE_STRINGPOINT, 254),
@@ -2262,6 +2276,18 @@ typedef enum {
2262
2276
  /* set TLS supported signature algorithms */
2263
2277
  CURLOPT(CURLOPT_SSL_SIGNATURE_ALGORITHMS, CURLOPTTYPE_STRINGPOINT, 328),
2264
2278
 
2279
+ /* RFC 9421 HTTP Message Signatures algorithm */
2280
+ CURLOPT(CURLOPT_HTTPSIG_ALGORITHM, CURLOPTTYPE_VALUES, 329),
2281
+
2282
+ /* Hex-encoded key for HTTP Message Signatures */
2283
+ CURLOPT(CURLOPT_HTTPSIG_KEY, CURLOPTTYPE_STRINGPOINT, 330),
2284
+
2285
+ /* Key identifier for HTTP Message Signatures */
2286
+ CURLOPT(CURLOPT_HTTPSIG_KEYID, CURLOPTTYPE_STRINGPOINT, 331),
2287
+
2288
+ /* Space-separated list of components to sign for HTTP Message Signatures */
2289
+ CURLOPT(CURLOPT_HTTPSIG_HEADERS, CURLOPTTYPE_STRINGPOINT, 332),
2290
+
2265
2291
  CURLOPT_LASTENTRY /* the last unused */
2266
2292
  } CURLoption;
2267
2293
 
@@ -32,12 +32,12 @@
32
32
 
33
33
  /* This is the version number of the libcurl package from which this header
34
34
  file origins: */
35
- #define LIBCURL_VERSION "8.21.0"
35
+ #define LIBCURL_VERSION "8.22.0"
36
36
 
37
37
  /* The numeric version number is also available "in parts" by using these
38
38
  defines: */
39
39
  #define LIBCURL_VERSION_MAJOR 8
40
- #define LIBCURL_VERSION_MINOR 21
40
+ #define LIBCURL_VERSION_MINOR 22
41
41
  #define LIBCURL_VERSION_PATCH 0
42
42
  /* This is the numeric version of the libcurl version number, meant for easier
43
43
  parsing and comparisons by programs. The LIBCURL_VERSION_NUM define always
@@ -56,9 +56,8 @@
56
56
 
57
57
  Note: This define is the full hex number and _does not_ use the
58
58
  CURL_VERSION_BITS() macro since curl's own configure script greps for it
59
- and needs it to contain the full number.
60
- */
61
- #define LIBCURL_VERSION_NUM 0x081500
59
+ and needs it to contain the full number. */
60
+ #define LIBCURL_VERSION_NUM 0x081600
62
61
 
63
62
  /*
64
63
  * This is the date and time when the full source package was created. The
@@ -69,7 +68,7 @@
69
68
  *
70
69
  * "2007-11-23"
71
70
  */
72
- #define LIBCURL_TIMESTAMP "2026-06-24"
71
+ #define LIBCURL_TIMESTAMP "2026-09-02"
73
72
 
74
73
  #define CURL_VERSION_BITS(x, y, z) ((x) << 16 | (y) << 8 | (z))
75
74
  #define CURL_AT_LEAST_VERSION(x, y, z) \
@@ -24,20 +24,20 @@
24
24
  *
25
25
  ***************************************************************************/
26
26
  /*
27
- This is an "external" header file. Do not give away any internals here!
28
-
29
- GOALS
30
-
31
- o Enable a "pull" interface. The application that uses libcurl decides where
32
- and when to ask libcurl to get/send data.
33
-
34
- o Enable multiple simultaneous transfers in the same thread without making it
35
- complicated for the application.
36
-
37
- o Enable the application to select() on its own file descriptors and curl's
38
- file descriptors simultaneous easily.
39
-
40
- */
27
+ * This is an "external" header file. Do not give away any internals here!
28
+ *
29
+ * GOALS
30
+ *
31
+ * o Enable a "pull" interface. The application that uses libcurl decides where
32
+ * and when to ask libcurl to get/send data.
33
+ *
34
+ * o Enable multiple simultaneous transfers in the same thread without making
35
+ * it complicated for the application.
36
+ *
37
+ * o Enable the application to select() on its own file descriptors and curl's
38
+ * file descriptors simultaneous easily.
39
+ *
40
+ */
41
41
 
42
42
  /*
43
43
  * This header file should not really need to include "curl.h" since curl.h
@@ -496,6 +496,9 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
496
496
  (option) == CURLOPT_USERAGENT || \
497
497
  (option) == CURLOPT_USERNAME || \
498
498
  (option) == CURLOPT_AWS_SIGV4 || \
499
+ (option) == CURLOPT_HTTPSIG_HEADERS || \
500
+ (option) == CURLOPT_HTTPSIG_KEY || \
501
+ (option) == CURLOPT_HTTPSIG_KEYID || \
499
502
  (option) == CURLOPT_USERPWD || \
500
503
  (option) == CURLOPT_XOAUTH2_BEARER || \
501
504
  0)
@@ -605,9 +608,10 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
605
608
  * == or whatsoever.
606
609
  */
607
610
 
608
- /* XXX: should evaluate to true if expr is a pointer */
611
+ /* XXX: should evaluate to true if expr is a pointer or a char[] array */
609
612
  #define curlcheck_any_ptr(expr) \
610
- (sizeof(expr) == sizeof(void *))
613
+ (sizeof(expr) == sizeof(void *) || \
614
+ __builtin_types_compatible_p(__typeof__(expr), char[]))
611
615
 
612
616
  /* evaluates to true if expr is NULL */
613
617
  /* XXX: must not evaluate expr, so this check is not accurate */
@@ -674,7 +678,7 @@ CURLWARNING(Wcurl_easy_getinfo_err_curl_off_t,
674
678
  (__builtin_types_compatible_p(__typeof__(expr), curl_off_t))
675
679
 
676
680
  /* evaluates to true if expr is abuffer suitable for CURLOPT_ERRORBUFFER */
677
- /* XXX: also check size of an char[] array? */
681
+ /* XXX: also check size of a char[] array? */
678
682
  #define curlcheck_error_buffer(expr) \
679
683
  (curlcheck_NULL(expr) || \
680
684
  __builtin_types_compatible_p(__typeof__(expr), char *) || \
@@ -64,6 +64,7 @@ typedef enum {
64
64
  CURLUE_BAD_USER, /* 29 */
65
65
  CURLUE_LACKS_IDN, /* 30 */
66
66
  CURLUE_TOO_LARGE, /* 31 */
67
+ CURLUE_BACKSLASH, /* 32 */
67
68
  CURLUE_LAST
68
69
  } CURLUcode;
69
70
 
@@ -1 +1 @@
1
- 6b0e9fa77468fac31a0190ca2036d9dc30ade84db792ba17f118c29049a08797
1
+ d8e8c7e57e4f2e42f7ba8cba8ed93afd9ed5805451eccd7b4bfcedde4faeb9f7