summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2020-11-26 09:47:02 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-11-26 23:31:56 +0100
commitc7b02c5d680021f21aebdf41cb336a742fdad664 (patch)
tree3e90e214b232e2654e647a1274d107a0ac255d8a
parentddd3eb99f87c514fbedeaa33e36246972702b01a (diff)
downloadcurl-c7b02c5d680021f21aebdf41cb336a742fdad664.tar.gz
ngtcp2: use the minimal version of QUIC supported by ngtcp2
Closes #6250
-rw-r--r--lib/vquic/ngtcp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 348b3bee8..fa2a2c30d 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -821,7 +821,7 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
ngtcp2_addr_init(&path.remote, addr, addrlen, NULL);
rc = ngtcp2_conn_client_new(&qs->qconn, &qs->dcid, &qs->scid, &path,
- NGTCP2_PROTO_VER_MAX, &ng_callbacks,
+ NGTCP2_PROTO_VER_MIN, &ng_callbacks,
&qs->settings, NULL, qs);
if(rc)
return CURLE_QUIC_CONNECT_ERROR;