mirror of
https://github.com/curl/curl.git
synced 2026-06-13 10:05:36 +03:00
or higher -> or greater 11 docs
This commit is contained in:
parent
b912cb8c75
commit
5df6c95d1b
8 changed files with 23 additions and 23 deletions
|
|
@ -48,26 +48,26 @@ typedef struct {
|
|||
const char *libz_version; /* human readable string */
|
||||
const char *const *protocols; /* protocols */
|
||||
|
||||
/* when 'age' is CURLVERSION_SECOND or higher, the members below exist */
|
||||
/* when 'age' is CURLVERSION_SECOND or greater, the members below exist */
|
||||
const char *ares; /* human readable string */
|
||||
int ares_num; /* number */
|
||||
|
||||
/* when 'age' is CURLVERSION_THIRD or higher, the members below exist */
|
||||
/* when 'age' is CURLVERSION_THIRD or greater, the members below exist */
|
||||
const char *libidn; /* human readable string */
|
||||
|
||||
/* when 'age' is CURLVERSION_FOURTH or higher (>= 7.16.1), the members
|
||||
/* when 'age' is CURLVERSION_FOURTH or greater (>= 7.16.1), the members
|
||||
below exist */
|
||||
int iconv_ver_num; /* '_libiconv_version' if iconv support enabled */
|
||||
|
||||
const char *libssh_version; /* human readable string */
|
||||
|
||||
/* when 'age' is CURLVERSION_FIFTH or higher (>= 7.57.0), the members
|
||||
/* when 'age' is CURLVERSION_FIFTH or greater (>= 7.57.0), the members
|
||||
below exist */
|
||||
unsigned int brotli_ver_num; /* Numeric Brotli version
|
||||
(MAJOR << 24) | (MINOR << 12) | PATCH */
|
||||
const char *brotli_version; /* human readable string. */
|
||||
|
||||
/* when 'age' is CURLVERSION_SIXTH or higher (>= 7.66.0), the members
|
||||
/* when 'age' is CURLVERSION_SIXTH or greater (>= 7.66.0), the members
|
||||
below exist */
|
||||
unsigned int nghttp2_ver_num; /* Numeric nghttp2 version
|
||||
(MAJOR << 16) | (MINOR << 8) | PATCH */
|
||||
|
|
@ -76,27 +76,27 @@ typedef struct {
|
|||
const char *quic_version; /* human readable quic (+ HTTP/3) library +
|
||||
version or NULL */
|
||||
|
||||
/* when 'age' is CURLVERSION_SEVENTH or higher (>= 7.70.0), the members
|
||||
/* when 'age' is CURLVERSION_SEVENTH or greater (>= 7.70.0), the members
|
||||
below exist */
|
||||
const char *cainfo; /* the built-in default CURLOPT_CAINFO, might
|
||||
be NULL */
|
||||
const char *capath; /* the built-in default CURLOPT_CAPATH, might
|
||||
be NULL */
|
||||
/* when 'age' is CURLVERSION_EIGHTH or higher (>= 7.71.0), the members
|
||||
/* when 'age' is CURLVERSION_EIGHTH or greater (>= 7.71.0), the members
|
||||
below exist */
|
||||
unsigned int zstd_ver_num; /* Numeric Zstd version
|
||||
(MAJOR << 24) | (MINOR << 12) | PATCH */
|
||||
const char *zstd_version; /* human readable string. */
|
||||
/* when 'age' is CURLVERSION_NINTH or higher (>= 7.75.0), the members
|
||||
/* when 'age' is CURLVERSION_NINTH or greater (>= 7.75.0), the members
|
||||
below exist */
|
||||
const char *hyper_version; /* human readable string. */
|
||||
/* when 'age' is CURLVERSION_TENTH or higher (>= 7.77.0), the members
|
||||
/* when 'age' is CURLVERSION_TENTH or greater (>= 7.77.0), the members
|
||||
below exist */
|
||||
const char *gsasl_version; /* human readable string. */
|
||||
/* when 'age' is CURLVERSION_ELEVENTH or higher (>= 7.87.0), the members
|
||||
/* when 'age' is CURLVERSION_ELEVENTH or greater (>= 7.87.0), the members
|
||||
below exist */
|
||||
const char *const *feature_names; /* Feature names. */
|
||||
/* when 'age' is CURLVERSION_TWELFTH or higher (>= 8.8.0), the members
|
||||
/* when 'age' is CURLVERSION_TWELFTH or greater (>= 8.8.0), the members
|
||||
below exist */
|
||||
const char *const *rtmp_version; /* human readable string */
|
||||
} curl_version_info_data;
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ Not used in modern versions.
|
|||
## CURLE_QUOTE_ERROR (21)
|
||||
|
||||
When sending custom "QUOTE" commands to the remote server, one of the commands
|
||||
returned an error code that was 400 or higher (for FTP) or otherwise
|
||||
returned an error code that was 400 or greater (for FTP) or otherwise
|
||||
indicated unsuccessful completion of the command.
|
||||
|
||||
## CURLE_HTTP_RETURNED_ERROR (22)
|
||||
|
|
|
|||
|
|
@ -1444,7 +1444,7 @@ example cookies so the only way to share that is with the share interface.
|
|||
|
||||
## [1]
|
||||
|
||||
libcurl 7.10.3 or higher have the ability to switch over to chunked
|
||||
libcurl 7.10.3 or greater have the ability to switch over to chunked
|
||||
Transfer-Encoding in cases where HTTP uploads are done with data of an unknown
|
||||
size.
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ callback configured in CURLOPT_WRITEFUNCTION(3), whenever an incoming chunk
|
|||
of WebSocket data is received. The callback is handed a pointer to the payload
|
||||
data as an argument and can call curl_ws_meta(3) to get relevant metadata.
|
||||
|
||||
With libcurl 8.16.0 or higher, sending of WebSocket frames via a
|
||||
With libcurl 8.16.0 or greater, sending of WebSocket frames via a
|
||||
CURLOPT_READFUNCTION(3) is supported. To use that on such a connection,
|
||||
register a callback via CURLOPT_READFUNCTION(3) and set CURLOPT_UPLOAD(3)
|
||||
as well. Once, the WebSocket connection is established, your callback is
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ int main(void)
|
|||
CURLcode result;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||
|
||||
/* ask libcurl to use TLS version 1.0 or higher */
|
||||
/* ask libcurl to use TLS version 1.0 or greater */
|
||||
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
|
||||
|
||||
/* Perform the request */
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ default TLS v1.2 since 8.16.0 (unless the TLS library has a stricter rule).
|
|||
|
||||
## CURL_SSLVERSION_TLSv1
|
||||
|
||||
TLS v1.0 or higher
|
||||
TLS v1.0 or greater
|
||||
|
||||
## CURL_SSLVERSION_SSLv2
|
||||
|
||||
|
|
@ -58,19 +58,19 @@ SSL v3 - refused
|
|||
|
||||
## CURL_SSLVERSION_TLSv1_0
|
||||
|
||||
TLS v1.0 or higher
|
||||
TLS v1.0 or greater
|
||||
|
||||
## CURL_SSLVERSION_TLSv1_1
|
||||
|
||||
TLS v1.1 or higher
|
||||
TLS v1.1 or greater
|
||||
|
||||
## CURL_SSLVERSION_TLSv1_2
|
||||
|
||||
TLS v1.2 or higher
|
||||
TLS v1.2 or greater
|
||||
|
||||
## CURL_SSLVERSION_TLSv1_3
|
||||
|
||||
TLS v1.3 or higher
|
||||
TLS v1.3 or greater
|
||||
|
||||
##
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ int main(void)
|
|||
CURLcode result;
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||
|
||||
/* ask libcurl to use TLS version 1.0 or higher */
|
||||
/* ask libcurl to use TLS version 1.0 or greater */
|
||||
curl_easy_setopt(curl, CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);
|
||||
|
||||
/* Perform the request */
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ int main(void)
|
|||
|
||||
# NOTES
|
||||
|
||||
This option is only supported on Linux and macOS 10.11 or higher.
|
||||
This option is only supported on Linux and macOS 10.11 or greater.
|
||||
|
||||
# %AVAILABILITY%
|
||||
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ set to identify the IP address and port number of the DNS server to use.
|
|||
host information
|
||||
|
||||
- curl built to use `getaddrinfo()` for resolving *and* is built with c-ares
|
||||
1.26.0 or higher, gets a special workaround. In such builds, when the
|
||||
1.26.0 or greater, gets a special workaround. In such builds, when the
|
||||
environment variable is set, curl instead invokes a getaddrinfo wrapper
|
||||
that emulates the function and acknowledges the DNS server environment
|
||||
variable. This way, the getaddrinfo-using code paths in curl are verified,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue