vquic: initialize new callback slot for nghttp3 v1.18.0+

Closes #22399
This commit is contained in:
Viktor Szakats 2026-07-26 16:27:34 +02:00
parent b2a5369e70
commit e416e2948b
No known key found for this signature in database
2 changed files with 6 additions and 0 deletions

View file

@ -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,

View file

@ -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,