From fb8d85cc9e4fcb8da76c642d12835affea5967c4 Mon Sep 17 00:00:00 2001 From: "Node.js GitHub Bot" Date: Mon, 22 Jan 2024 22:31:11 +0200 Subject: [PATCH] deps: update ngtcp2 to 1.1.0 PR-URL: https://github.com/nodejs/node/pull/51319 Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h | 12 ------------ deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h | 4 ++-- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h b/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h index a8d4b4afd3a470..f16d15cb39bb52 100644 --- a/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h +++ b/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ngtcp2.h @@ -4269,9 +4269,6 @@ NGTCP2_EXTERN int ngtcp2_conn_open_uni_stream(ngtcp2_conn *conn, * * |flags| is currently unused, and should be set to 0. * - * This function returns 0 if a stream denoted by |stream_id| is not - * found. - * * This function returns 0 if it succeeds, or one of the following * negative error codes: * @@ -4294,9 +4291,6 @@ NGTCP2_EXTERN int ngtcp2_conn_shutdown_stream(ngtcp2_conn *conn, uint32_t flags, * * |flags| is currently unused, and should be set to 0. * - * This function returns 0 if a stream denoted by |stream_id| is not - * found. - * * This function returns 0 if it succeeds, or one of the following * negative error codes: * @@ -4321,9 +4315,6 @@ NGTCP2_EXTERN int ngtcp2_conn_shutdown_stream_write(ngtcp2_conn *conn, * * |flags| is currently unused, and should be set to 0. * - * This function returns 0 if a stream denoted by |stream_id| is not - * found. - * * This function returns 0 if it succeeds, or one of the following * negative error codes: * @@ -4684,9 +4675,6 @@ NGTCP2_EXTERN int ngtcp2_conn_in_draining_period(ngtcp2_conn *conn); * specifies the stream ID. This function only extends stream-level * flow control window. * - * This function returns 0 if a stream denoted by |stream_id| is not - * found. - * * This function returns 0 if it succeeds, or one of the following * negative error codes: * diff --git a/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h b/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h index 9f7592b84a4585..66a70ffe962964 100644 --- a/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h +++ b/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/version.h @@ -36,7 +36,7 @@ * * Version number of the ngtcp2 library release. */ -#define NGTCP2_VERSION "0.8.1" +#define NGTCP2_VERSION "1.1.0" /** * @macro @@ -46,6 +46,6 @@ * number, 8 bits for minor and 8 bits for patch. Version 1.2.3 * becomes 0x010203. */ -#define NGTCP2_VERSION_NUM 0x000801 +#define NGTCP2_VERSION_NUM 0x010100 #endif /* VERSION_H */