-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deps: update nghttp2 to 1.51.0 #45455
Conversation
Review requested:
|
I used https://github.com/nodejs/node/blob/main/tools/update-nghttp2.sh but somehow |
@yashLadha is the script missing a step? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@ShogunPanda but it doesn't work! |
@targos I haven't executed it :) Changes on source code seemed reasonable, I was not really looking in the build script. |
No @targos last time I checked it worked completely fine. Can you paste the log about what is the exact error. Might be due to recent changes in upstream dependencies. |
You can check any of the failing builds here |
|
Original config.h for v.1.51.0. But from the comment we may need to revert current one since the file comments like config.h/* Hint to the compiler that a function never returns */
#define NGHTTP2_NORETURN __attribute__((noreturn))
/* Define to `int' if <sys/types.h> does not define. */
/* #undef ssize_t */
/* Define to 1 if you have the `std::map::emplace`. */
#define HAVE_STD_MAP_EMPLACE 1
/* Define to 1 if you have `libjansson` library. */
#define HAVE_JANSSON 1
/* Define to 1 if you have `libxml2` library. */
#define HAVE_LIBXML2 1
/* Define to 1 if you have `mruby` library. */
/* #undef HAVE_MRUBY */
/* Define to 1 if you have `neverbleed` library. */
/* #undef HAVE_NEVERBLEED */
/* sizeof(int *) */
#define SIZEOF_INT_P 8
/* sizeof(time_t) */
#define SIZEOF_TIME_T 8
/* Define to 1 if you have the `_Exit` function. */
#define HAVE__EXIT 1
/* Define to 1 if you have the `accept4` function. */
/* #undef HAVE_ACCEPT4 */
/* Define to 1 if you have the `mkostemp` function. */
#define HAVE_MKOSTEMP 1
/* Define to 1 if you have the `initgroups` function. */
#define HAVE_DECL_INITGROUPS 1
/* Define to 1 to enable debug output. */
/* #undef DEBUGBUILD */
/* Define to 1 if you want to disable threads. */
/* #undef NOTHREADS */
/* Define to 1 if you have the <arpa/inet.h> header file. */
#define HAVE_ARPA_INET_H 1
/* Define to 1 if you have the <fcntl.h> header file. */
#define HAVE_FCNTL_H 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1
/* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define to 1 if you have the <netdb.h> header file. */
#define HAVE_NETDB_H 1
/* Define to 1 if you have the <netinet/in.h> header file. */
#define HAVE_NETINET_IN_H 1
/* Define to 1 if you have the <pwd.h> header file. */
#define HAVE_PWD_H 1
/* Define to 1 if you have the <sys/socket.h> header file. */
#define HAVE_SYS_SOCKET_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
#define HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <syslog.h> header file. */
#define HAVE_SYSLOG_H 1
/* Define to 1 if you have the <time.h> header file. */
#define HAVE_TIME_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define to 1 if HTTP/3 is enabled. */
/* #undef ENABLE_HTTP3 */
/* Define to 1 if you have `libbpf` library. */
/* #undef HAVE_LIBBPF */
/* Define to 1 if you have enum bpf_stats_type in linux/bpf.h. */
/* #undef HAVE_BPF_STATS_TYPE */
/* Define to 1 if you have `libngtcp2_crypto_openssl` library. */
/* #undef HAVE_LIBNGTCP2_CRYPTO_OPENSSL */ |
/* Hint to the compiler that a function never returns */ | ||
#define NGHTTP2_NORETURN | ||
|
||
/* Edited to match src/node.h. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More likely we need to revert this file than using the auto-gen one.
@yashLadha If I run the script with the current version (
|
Will check today, and close on this. |
I checked the |
Refs: https://github.com/nghttp2/nghttp2/releases/tag/v1.51.0