aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2019-08-07 09:49:18 +0200
committerDaniel Stenberg <daniel@haxx.se>2019-08-07 12:51:52 +0200
commitfd00e14adb11ee1ec4f39e01ce25041c7f4316b5 (patch)
tree950782aacfd3171610e9feddd0412e71de751eeb /include
parent1f145b02d95f42ffba23fa6ea6a867aeba3cbdc1 (diff)
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.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 33aa047a7..6011e416f 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -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 */
};