mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:03:32 +03:00
curl.h: add CURL_HTTP_VERSION_3 to the version enum
It can't be set for CURLOPT_HTTP_VERSION, but it can be extracted with CURLINFO_HTTP_VERSION.
This commit is contained in:
parent
1f145b02d9
commit
fd00e14adb
4 changed files with 8 additions and 2 deletions
|
|
@ -1985,7 +1985,9 @@ enum {
|
|||
CURL_HTTP_VERSION_2TLS, /* use version 2 for HTTPS, version 1.1 for HTTP */
|
||||
CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE, /* please use HTTP 2 without HTTP/1.1
|
||||
Upgrade */
|
||||
|
||||
CURL_HTTP_VERSION_3 = 30, /* This cannot be set with CURLOPT_HTTP_VERSION,
|
||||
use CURLOPT_H3 and/or CURLOPT_ALTSVC to enable
|
||||
HTTP/3 */
|
||||
CURL_HTTP_VERSION_LAST /* *ILLEGAL* http version */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue