From: Daiki Ueno Date: Thu, 26 Nov 2020 08:47:02 +0000 (+0100) Subject: ngtcp2: use the minimal version of QUIC supported by ngtcp2 X-Git-Tag: curl-7_74_0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7b02c5d680021f21aebdf41cb336a742fdad664;p=thirdparty%2Fcurl.git ngtcp2: use the minimal version of QUIC supported by ngtcp2 Closes #6250 --- diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c index 348b3bee8d..fa2a2c30d4 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;