aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
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 /lib/url.c
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 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index c61319b3b..99bea3f01 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3201,7 +3201,7 @@ static CURLcode parse_connect_to_slist(struct Curl_easy *data,
break;
case ALPN_h3:
conn->transport = TRNSPRT_QUIC;
- conn->httpversion = CURL_HTTP_VERSION_LAST; /* for the moment */
+ conn->httpversion = CURL_HTTP_VERSION_3;
break;
default: /* shouldn't be possible */
break;