diff --git a/lib/vquic/cf-ngtcp2-proxy.c b/lib/vquic/cf-ngtcp2-proxy.c index 3a7023f300..2592b05dab 100644 --- a/lib/vquic/cf-ngtcp2-proxy.c +++ b/lib/vquic/cf-ngtcp2-proxy.c @@ -625,6 +625,9 @@ static nghttp3_callbacks ngh3_proxy_callbacks = { #ifdef NGHTTP3_CALLBACKS_V3 /* nghttp3 v1.14.0+ */ NULL, /* recv_settings2 */ #endif +#ifdef NGHTTP3_CALLBACKS_V4 /* nghttp3 v1.18.0+ */ + NULL, /* stream_close2 */ +#endif }; static CURLcode cf_ngtcp2_proxy_h3_init(struct Curl_cfilter *cf, diff --git a/lib/vquic/cf-ngtcp2.c b/lib/vquic/cf-ngtcp2.c index 980516d05e..9a2b64f235 100644 --- a/lib/vquic/cf-ngtcp2.c +++ b/lib/vquic/cf-ngtcp2.c @@ -410,6 +410,9 @@ static nghttp3_callbacks ngh3_callbacks = { #ifdef NGHTTP3_CALLBACKS_V3 /* nghttp3 v1.14.0+ */ NULL, /* recv_settings2 */ #endif +#ifdef NGHTTP3_CALLBACKS_V4 /* nghttp3 v1.18.0+ */ + NULL, /* stream_close2 */ +#endif }; static CURLcode init_ngh3_conn(struct Curl_cfilter *cf,