← Commit list

17628b15ec

Viktor Szakats
Viktor Szakats
2025-12-23
SUCCESS Duration: 190s

Subject

vquic: initialize new callback in nghttp3 1.14.0+

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/vquic/curl_ngtcp2.c+6 -3
@@ -877,7 +877,7 @@ static ngtcp2_callbacks ng_callbacks = {
cb_recv_rx_key,
NULL, /* recv_tx_key */
NULL, /* early_data_rejected */
-#ifdef NGTCP2_CALLBACKS_V2
+#ifdef NGTCP2_CALLBACKS_V2 /* ngtcp2 v1.14.0+ */
NULL, /* begin_path_validation */
#endif
};
@@ -1291,12 +1291,15 @@ static nghttp3_callbacks ngh3_callbacks = {
NULL, /* end_stream */
cb_h3_reset_stream,
NULL, /* shutdown */
- NULL, /* recv_settings */
-#ifdef NGHTTP3_CALLBACKS_V2
+ NULL, /* recv_settings (deprecated) */
+#ifdef NGHTTP3_CALLBACKS_V2 /* nghttp3 v1.11.0+ */
NULL, /* recv_origin */
NULL, /* end_origin */
NULL, /* rand */
#endif
+#ifdef NGHTTP3_CALLBACKS_V3 /* nghttp3 v1.14.0+ */
+ NULL, /* recv_settings2 */
+#endif
};
static CURLcode init_ngh3_conn(struct Curl_cfilter *cf,
lib/vquic/curl_osslq.c+5 -2
@@ -1074,12 +1074,15 @@ static nghttp3_callbacks ngh3_callbacks = {
NULL, /* end_stream */
cb_h3_reset_stream,
NULL, /* shutdown */
- NULL, /* recv_settings */
-#ifdef NGHTTP3_CALLBACKS_V2
+ NULL, /* recv_settings (deprecated) */
+#ifdef NGHTTP3_CALLBACKS_V2 /* nghttp3 v1.11.0+ */
NULL, /* recv_origin */
NULL, /* end_origin */
NULL, /* rand */
#endif
+#ifdef NGHTTP3_CALLBACKS_V3 /* nghttp3 v1.14.0+ */
+ NULL, /* recv_settings2 */
+#endif
};
static CURLcode cf_osslq_h3conn_init(struct cf_osslq_ctx *ctx, SSL *conn,