summaryrefslogtreecommitdiff
path: root/lib/vquic
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-22 10:01:13 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-22 10:45:00 +0100
commitc915662485f8fe1e32351a8f83a4a5fe76b5bd08 (patch)
tree2c7c37682ac70408b4d640a26d3f263e6dd82f04 /lib/vquic
parent03c8cef1c3f723088c8b603785a7f4517d05d85c (diff)
downloadcurl-c915662485f8fe1e32351a8f83a4a5fe76b5bd08.tar.gz
ngtcp2: sync with recent API updates
Closes #6770
Diffstat (limited to 'lib/vquic')
-rw-r--r--lib/vquic/ngtcp2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/vquic/ngtcp2.c b/lib/vquic/ngtcp2.c
index 0539a57bb..9569431ca 100644
--- a/lib/vquic/ngtcp2.c
+++ b/lib/vquic/ngtcp2.c
@@ -740,7 +740,9 @@ static ngtcp2_callbacks ng_callbacks = {
NULL, /* recv_new_token */
ngtcp2_crypto_delete_crypto_aead_ctx_cb,
ngtcp2_crypto_delete_crypto_cipher_ctx_cb,
- NULL /* recv_datagram */
+ NULL, /* recv_datagram */
+ NULL, /* ack_datagram */
+ NULL /* lost_datagram */
};
/*
@@ -828,7 +830,7 @@ CURLcode Curl_quic_connect(struct Curl_easy *data,
*/
int Curl_quic_ver(char *p, size_t len)
{
- ngtcp2_info *ng2 = ngtcp2_version(0);
+ const ngtcp2_info *ng2 = ngtcp2_version(0);
nghttp3_info *ht3 = nghttp3_version(0);
return msnprintf(p, len, "ngtcp2/%s nghttp3/%s",
ng2->version_str, ht3->version_str);