mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
ngtcp2: use nghttp3_version()
This commit is contained in:
parent
ff4ef390f6
commit
b959c2f775
@ -1155,8 +1155,9 @@ CURLcode Curl_quic_connect(struct connectdata *conn,
|
||||
int Curl_quic_ver(char *p, size_t len)
|
||||
{
|
||||
ngtcp2_info *ng2 = ngtcp2_version(0);
|
||||
nghttp3_info *ht3 = nghttp3_version(0);
|
||||
return msnprintf(p, len, " ngtcp2/%s nghttp3/%s",
|
||||
ng2->version_str, NGHTTP3_VERSION);
|
||||
ng2->version_str, ht3->version_str);
|
||||
}
|
||||
|
||||
static int ng_getsock(struct connectdata *conn, curl_socket_t *socks)
|
||||
|
Loading…
Reference in New Issue
Block a user