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:
parent
ddd3eb99f8
commit
c7b02c5d68
@ -821,7 +821,7 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
|
|||||||
ngtcp2_addr_init(&path.remote, addr, addrlen, NULL);
|
ngtcp2_addr_init(&path.remote, addr, addrlen, NULL);
|
||||||
|
|
||||||
rc = ngtcp2_conn_client_new(&qs->qconn, &qs->dcid, &qs->scid, &path,
|
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);
|
&qs->settings, NULL, qs);
|
||||||
if(rc)
|
if(rc)
|
||||||
return CURLE_QUIC_CONNECT_ERROR;
|
return CURLE_QUIC_CONNECT_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user