From c7b02c5d680021f21aebdf41cb336a742fdad664 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Thu, 26 Nov 2020 09:47:02 +0100 Subject: ngtcp2: use the minimal version of QUIC supported by ngtcp2 Closes #6250 --- lib/vquic/ngtcp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; -- cgit v1.2.1