Skip to content

Commit

Permalink
ngtcp2: use the minimal version of QUIC supported by ngtcp2
Browse files Browse the repository at this point in the history
Closes #6250
  • Loading branch information
ueno authored and bagder committed Nov 26, 2020
1 parent ddd3eb9 commit c7b02c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vquic/ngtcp2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c7b02c5

Please sign in to comment.