]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
vquic: initialize new callback slot for nghttp3 v1.18.0+
authorViktor Szakats <commit@vsz.me>
Sun, 26 Jul 2026 14:27:34 +0000 (16:27 +0200)
committerViktor Szakats <commit@vsz.me>
Sun, 26 Jul 2026 14:43:18 +0000 (16:43 +0200)
Closes #22399

lib/vquic/cf-ngtcp2-proxy.c
lib/vquic/cf-ngtcp2.c

index 3a7023f300e1f6faaf69ad44a8404df03ac1ac46..2592b05dab2ebdc5655995bc03f1c31b3cf0036f 100644 (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,
index 980516d05eaab34e22fa19ef02fc4c600e3c0c93..9a2b64f235e2fb9169c1dbfd13fae2f34ec858be 100644 (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,