aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/url.c b/lib/url.c
index d31f83065..0b681803d 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -3195,14 +3195,14 @@ static CURLcode parse_connect_to_slist(struct Curl_easy *data,
/* protocol version switch */
switch(nalpnid) {
case ALPN_h1:
- conn->httpversion = CURL_HTTP_VERSION_1_1;
+ conn->httpversion = 11;
break;
case ALPN_h2:
- conn->httpversion = CURL_HTTP_VERSION_2TLS;
+ conn->httpversion = 20;
break;
case ALPN_h3:
conn->transport = TRNSPRT_QUIC;
- conn->httpversion = CURL_HTTP_VERSION_3;
+ conn->httpversion = 30;
break;
default: /* shouldn't be possible */
break;