1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

ngtcp2: use the minimal version of QUIC supported by ngtcp2

Closes #6250
This commit is contained in:
Daiki Ueno 2020-11-26 09:47:02 +01:00 committed by Daniel Stenberg
parent ddd3eb99f8
commit c7b02c5d68
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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;