Skip to content

Commit 1d54921

Browse files
deps: update nghttp2 to 1.68.0
PR-URL: #61136 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Tim Perry <[email protected]>
1 parent 76c4bee commit 1d54921

29 files changed

+206
-153
lines changed

deps/nghttp2/lib/includes/nghttp2/nghttp2ver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
* @macro
3030
* Version number of the nghttp2 library release
3131
*/
32-
#define NGHTTP2_VERSION "1.67.1"
32+
#define NGHTTP2_VERSION "1.68.0"
3333

3434
/**
3535
* @macro
3636
* Numerical representation of the version number of the nghttp2 library
3737
* release. This is a 24 bit number with 8 bits for major number, 8 bits
3838
* for minor and 8 bits for patch. Version 1.2.3 becomes 0x010203.
3939
*/
40-
#define NGHTTP2_VERSION_NUM 0x014301
40+
#define NGHTTP2_VERSION_NUM 0x014400
4141

4242
#endif /* NGHTTP2VER_H */

deps/nghttp2/lib/nghttp2_alpn.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

34-
#endif /* NGHTTP2_ALPN_H */
34+
#endif /* !defined(NGHTTP2_ALPN_H) */

deps/nghttp2/lib/nghttp2_buf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

@@ -409,4 +409,4 @@ int nghttp2_bufs_next_present(nghttp2_bufs *bufs);
409409
*/
410410
size_t nghttp2_bufs_len(nghttp2_bufs *bufs);
411411

412-
#endif /* NGHTTP2_BUF_H */
412+
#endif /* !defined(NGHTTP2_BUF_H) */

deps/nghttp2/lib/nghttp2_callbacks.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

@@ -154,4 +154,4 @@ struct nghttp2_session_callbacks {
154154
nghttp2_rand_callback rand_callback;
155155
};
156156

157-
#endif /* NGHTTP2_CALLBACKS_H */
157+
#endif /* !defined(NGHTTP2_CALLBACKS_H) */

deps/nghttp2/lib/nghttp2_debug.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ void nghttp2_set_debug_vprintf_callback(
5050
static_debug_vprintf_callback = debug_vprintf_callback;
5151
}
5252

53-
#else /* !DEBUGBUILD */
53+
#else /* !defined(DEBUGBUILD) */
5454

5555
void nghttp2_set_debug_vprintf_callback(
5656
nghttp2_debug_vprintf_callback debug_vprintf_callback) {
5757
(void)debug_vprintf_callback;
5858
}
5959

60-
#endif /* !DEBUGBUILD */
60+
#endif /* !defined(DEBUGBUILD) */

deps/nghttp2/lib/nghttp2_debug.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

3434
#ifdef DEBUGBUILD
3535
# define DEBUGF(...) nghttp2_debug_vprintf(__VA_ARGS__)
3636
void nghttp2_debug_vprintf(const char *format, ...);
37-
#else
37+
#else /* !defined(DEBUGBUILD) */
3838
# define DEBUGF(...) \
3939
do { \
4040
} while (0)
41-
#endif
41+
#endif /* !defined(DEBUGBUILD) */
4242

43-
#endif /* NGHTTP2_DEBUG_H */
43+
#endif /* !defined(NGHTTP2_DEBUG_H) */

deps/nghttp2/lib/nghttp2_extpri.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#ifdef HAVE_CONFIG_H
3030
# include <config.h>
31-
#endif /* HAVE_CONFIG_H */
31+
#endif /* defined(HAVE_CONFIG_H) */
3232

3333
#include <nghttp2/nghttp2.h>
3434

@@ -62,4 +62,4 @@ void nghttp2_extpri_from_uint8(nghttp2_extpri *extpri, uint8_t u8extpri);
6262
*/
6363
#define nghttp2_extpri_uint8_inc(PRI) (((PRI) & NGHTTP2_EXTPRI_INC_MASK) != 0)
6464

65-
#endif /* NGHTTP2_EXTPRI_H */
65+
#endif /* !defined(NGHTTP2_EXTPRI_H) */

deps/nghttp2/lib/nghttp2_frame.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333
#include "nghttp2_hd.h"
@@ -634,4 +634,4 @@ int nghttp2_iv_check(const nghttp2_settings_entry *iv, size_t niv);
634634
void nghttp2_frame_add_pad(nghttp2_bufs *bufs, nghttp2_frame_hd *hd,
635635
size_t padlen, int framehd_only);
636636

637-
#endif /* NGHTTP2_FRAME_H */
637+
#endif /* !defined(NGHTTP2_FRAME_H) */

deps/nghttp2/lib/nghttp2_hd.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

@@ -439,4 +439,4 @@ nghttp2_ssize nghttp2_hd_huff_decode(nghttp2_hd_huff_decode_context *ctx,
439439
*/
440440
int nghttp2_hd_huff_decode_failure_state(nghttp2_hd_huff_decode_context *ctx);
441441

442-
#endif /* NGHTTP2_HD_H */
442+
#endif /* !defined(NGHTTP2_HD_H) */

deps/nghttp2/lib/nghttp2_hd_huffman.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#ifdef HAVE_CONFIG_H
2929
# include <config.h>
30-
#endif /* HAVE_CONFIG_H */
30+
#endif /* defined(HAVE_CONFIG_H) */
3131

3232
#include <nghttp2/nghttp2.h>
3333

@@ -69,4 +69,4 @@ typedef struct {
6969
extern const nghttp2_huff_sym huff_sym_table[];
7070
extern const nghttp2_huff_decode huff_decode_table[][16];
7171

72-
#endif /* NGHTTP2_HD_HUFFMAN_H */
72+
#endif /* !defined(NGHTTP2_HD_HUFFMAN_H) */

0 commit comments

Comments
 (0)