Skip to content
This repository was archived by the owner on Jan 16, 2024. It is now read-only.

Commit 306da69

Browse files
committed
Bundle 7.84.0-9000 (2022-12-28)
1 parent e733b66 commit 306da69

34 files changed

+6127
-45
lines changed

Diff for: README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# curl 7.83.1-9000
1+
# curl 7.84.0-9000
22

33
- mingw-w64-i686-zlib-1.2.11-9100-any.pkg.tar.xz
44
- mingw-w64-i686-openssl-1.1.1.m-9800-any.pkg.tar.xz
55
- mingw-w64-i686-libssh2-1.10.1-9800-any.pkg.tar.xz
6-
- mingw-w64-i686-curl-7.83.1-9000-any.pkg.tar.xz
6+
- mingw-w64-i686-nghttp2-1.51.0-1-any.pkg.tar.xz
7+
- mingw-w64-i686-curl-7.84.0-9000-any.pkg.tar.xz
78
- mingw-w64-x86_64-zlib-1.2.11-9100-any.pkg.tar.xz
89
- mingw-w64-x86_64-openssl-1.1.1.m-9800-any.pkg.tar.xz
910
- mingw-w64-x86_64-libssh2-1.10.1-9800-any.pkg.tar.xz
10-
- mingw-w64-x86_64-curl-7.83.1-9000-any.pkg.tar.xz
11+
- mingw-w64-x86_64-nghttp2-1.51.0-1-any.pkg.tar.xz
12+
- mingw-w64-x86_64-curl-7.84.0-9000-any.pkg.tar.xz
1113
- mingw-w64-ucrt-x86_64-zlib-1.2.11-9100-any.pkg.tar.xz
1214
- mingw-w64-ucrt-x86_64-openssl-1.1.1.m-9800-any.pkg.tar.xz
1315
- mingw-w64-ucrt-x86_64-libssh2-1.10.1-9800-any.pkg.tar.xz
14-
- mingw-w64-ucrt-x86_64-curl-7.83.1-9000-any.pkg.tar.xz
16+
- mingw-w64-ucrt-x86_64-nghttp2-1.51.0-1-any.pkg.tar.xz
17+
- mingw-w64-ucrt-x86_64-curl-7.84.0-9000-any.pkg.tar.xz

Diff for: include/curl/curl.h

+30-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
/*
@@ -613,6 +615,7 @@ typedef enum {
613615
CURLE_QUIC_CONNECT_ERROR, /* 96 - QUIC connection error */
614616
CURLE_PROXY, /* 97 - proxy handshake error */
615617
CURLE_SSL_CLIENTCERT, /* 98 - client-side certificate required */
618+
CURLE_UNRECOVERABLE_POLL, /* 99 - poll/select returned fatal error */
616619
CURL_LAST /* never use! */
617620
} CURLcode;
618621

@@ -855,7 +858,18 @@ typedef int
855858
const struct curl_khkey *knownkey, /* known */
856859
const struct curl_khkey *foundkey, /* found */
857860
enum curl_khmatch, /* libcurl's view on the keys */
858-
void *clientp); /* custom pointer passed from app */
861+
void *clientp); /* custom pointer passed with */
862+
/* CURLOPT_SSH_KEYDATA */
863+
864+
typedef int
865+
(*curl_sshhostkeycallback) (void *clientp,/* custom pointer passed*/
866+
/* with CURLOPT_SSH_HOSTKEYDATA */
867+
int keytype, /* CURLKHTYPE */
868+
const char *key, /*hostkey to check*/
869+
size_t keylen); /*length of the key*/
870+
/*return CURLE_OK to accept*/
871+
/*or something else to refuse*/
872+
859873

860874
/* parameter for the CURLOPT_USE_SSL option */
861875
typedef enum {
@@ -2122,6 +2136,13 @@ typedef enum {
21222136
/* Set MIME option flags. */
21232137
CURLOPT(CURLOPT_MIME_OPTIONS, CURLOPTTYPE_LONG, 315),
21242138

2139+
/* set the SSH host key callback, must point to a curl_sshkeycallback
2140+
function */
2141+
CURLOPT(CURLOPT_SSH_HOSTKEYFUNCTION, CURLOPTTYPE_FUNCTIONPOINT, 316),
2142+
2143+
/* set the SSH host key callback custom pointer */
2144+
CURLOPT(CURLOPT_SSH_HOSTKEYDATA, CURLOPTTYPE_CBPOINT, 317),
2145+
21252146
CURLOPT_LASTENTRY /* the last unused */
21262147
} CURLoption;
21272148

@@ -2589,8 +2610,10 @@ CURL_EXTERN void curl_free(void *p);
25892610
*
25902611
* curl_global_init() should be invoked exactly once for each application that
25912612
* uses libcurl and before any call of other libcurl functions.
2592-
*
2593-
* This function is not thread-safe!
2613+
2614+
* This function is thread-safe if CURL_VERSION_THREADSAFE is set in the
2615+
* curl_version_info_data.features flag (fetch by curl_version_info()).
2616+
25942617
*/
25952618
CURL_EXTERN CURLcode curl_global_init(long flags);
25962619

@@ -2799,8 +2822,9 @@ typedef enum {
27992822
CURLINFO_EFFECTIVE_METHOD = CURLINFO_STRING + 58,
28002823
CURLINFO_PROXY_ERROR = CURLINFO_LONG + 59,
28012824
CURLINFO_REFERER = CURLINFO_STRING + 60,
2802-
2803-
CURLINFO_LASTONE = 60
2825+
CURLINFO_CAINFO = CURLINFO_STRING + 61,
2826+
CURLINFO_CAPATH = CURLINFO_STRING + 62,
2827+
CURLINFO_LASTONE = 62
28042828
} CURLINFO;
28052829

28062830
/* CURLINFO_RESPONSE_CODE is the new name for the option previously known as
@@ -3006,6 +3030,7 @@ typedef struct curl_version_info_data curl_version_info_data;
30063030
#define CURL_VERSION_UNICODE (1<<27) /* Unicode support on Windows */
30073031
#define CURL_VERSION_HSTS (1<<28) /* HSTS is supported */
30083032
#define CURL_VERSION_GSASL (1<<29) /* libgsasl is supported */
3033+
#define CURL_VERSION_THREADSAFE (1<<30) /* libcurl API is thread-safe */
30093034

30103035
/*
30113036
* NAME curl_version_info()

Diff for: include/curl/curlver.h

+7-5
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
/* This header file contains nothing but libcurl version info, generated by
@@ -30,13 +32,13 @@
3032

3133
/* This is the version number of the libcurl package from which this header
3234
file origins: */
33-
#define LIBCURL_VERSION "7.83.1"
35+
#define LIBCURL_VERSION "7.84.0"
3436

3537
/* The numeric version number is also available "in parts" by using these
3638
defines: */
3739
#define LIBCURL_VERSION_MAJOR 7
38-
#define LIBCURL_VERSION_MINOR 83
39-
#define LIBCURL_VERSION_PATCH 1
40+
#define LIBCURL_VERSION_MINOR 84
41+
#define LIBCURL_VERSION_PATCH 0
4042

4143
/* This is the numeric version of the libcurl version number, meant for easier
4244
parsing and comparisons by programs. The LIBCURL_VERSION_NUM define will
@@ -57,7 +59,7 @@
5759
CURL_VERSION_BITS() macro since curl's own configure script greps for it
5860
and needs it to contain the full number.
5961
*/
60-
#define LIBCURL_VERSION_NUM 0x075301
62+
#define LIBCURL_VERSION_NUM 0x075400
6163

6264
/*
6365
* This is the date and time when the full source package was created. The
@@ -68,7 +70,7 @@
6870
*
6971
* "2007-11-23"
7072
*/
71-
#define LIBCURL_TIMESTAMP "2022-05-11"
73+
#define LIBCURL_TIMESTAMP "2022-06-27"
7274

7375
#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|(z))
7476
#define CURL_AT_LEAST_VERSION(x,y,z) \

Diff for: include/curl/easy.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426
#ifdef __cplusplus
2527
extern "C" {

Diff for: include/curl/header.h

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
struct curl_header {

Diff for: include/curl/mprintf.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
#include <stdarg.h>

Diff for: include/curl/multi.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426
/*
2527
This is an "external" header file. Don't give away any internals here!
@@ -75,6 +77,7 @@ typedef enum {
7577
CURLM_WAKEUP_FAILURE, /* wakeup is unavailable or failed */
7678
CURLM_BAD_FUNCTION_ARGUMENT, /* function called with a bad parameter */
7779
CURLM_ABORTED_BY_CALLBACK,
80+
CURLM_UNRECOVERABLE_POLL,
7881
CURLM_LAST
7982
} CURLMcode;
8083

Diff for: include/curl/options.h

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
#ifdef __cplusplus

Diff for: include/curl/stdcheaders.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
#include <sys/types.h>

Diff for: include/curl/system.h

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
/*

Diff for: include/curl/typecheck-gcc.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
/* wraps curl_easy_setopt() with typechecking */
@@ -374,6 +376,7 @@ CURLWARNING(_curl_easy_getinfo_err_curl_off_t,
374376
(option) == CURLOPT_WRITEDATA || \
375377
(option) == CURLOPT_RESOLVER_START_DATA || \
376378
(option) == CURLOPT_TRAILERDATA || \
379+
(option) == CURLOPT_SSH_HOSTKEYDATA || \
377380
0)
378381

379382
/* evaluates to true if option takes a POST data argument (void* or char*) */

Diff for: include/curl/urlapi.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* | (__| |_| | _ <| |___
88
* \___|\___/|_| \_\_____|
99
*
10-
* Copyright (C) 2018 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
10+
* Copyright (C) 2018 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
1111
*
1212
* This software is licensed as described in the file COPYING, which
1313
* you should have received as part of this distribution. The terms
@@ -20,6 +20,8 @@
2020
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
2121
* KIND, either express or implied.
2222
*
23+
* SPDX-License-Identifier: curl
24+
*
2325
***************************************************************************/
2426

2527
#include "curl.h"

0 commit comments

Comments
 (0)