deps: update nghttp3 to 1.16.0 · nodejs/node@a53db01 · GitHub
Skip to content

Commit a53db01

Browse files
nodejs-github-botaduh95
authored andcommitted
deps: update nghttp3 to 1.16.0
PR-URL: #63776 Backport-PR-URL: #64675 Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
1 parent 1f4a5c1 commit a53db01

34 files changed

Lines changed: 2214 additions & 1906 deletions

deps/ngtcp2/nghttp3/lib/includes/nghttp3/nghttp3.h

Lines changed: 265 additions & 67 deletions
Large diffs are not rendered by default.

deps/ngtcp2/nghttp3/lib/includes/nghttp3/version.h

Lines changed: 2 additions & 2 deletions

deps/ngtcp2/nghttp3/lib/nghttp3_balloc.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
void nghttp3_balloc_init(nghttp3_balloc *balloc, size_t blklen,
3333
const nghttp3_mem *mem) {
34-
assert((blklen & 0xfu) == 0);
34+
assert((blklen & 0xFU) == 0);
3535

3636
balloc->mem = mem;
3737
balloc->blklen = blklen;
@@ -67,7 +67,7 @@ int nghttp3_balloc_get(nghttp3_balloc *balloc, void **pbuf, size_t n) {
6767

6868
if (nghttp3_buf_left(&balloc->buf) < n) {
6969
p = nghttp3_mem_malloc(balloc->mem,
70-
sizeof(nghttp3_memblock_hd) + 0x8u + balloc->blklen);
70+
sizeof(nghttp3_memblock_hd) + 0x8U + balloc->blklen);
7171
if (p == NULL) {
7272
return NGHTTP3_ERR_NOMEM;
7373
}
@@ -77,15 +77,15 @@ int nghttp3_balloc_get(nghttp3_balloc *balloc, void **pbuf, size_t n) {
7777
balloc->head = hd;
7878
nghttp3_buf_wrap_init(
7979
&balloc->buf,
80-
(uint8_t *)(((uintptr_t)p + sizeof(nghttp3_memblock_hd) + 0xfu) &
81-
~(uintptr_t)0xfu),
80+
(uint8_t *)(((uintptr_t)p + sizeof(nghttp3_memblock_hd) + 0xFU) &
81+
~(uintptr_t)0xFU),
8282
balloc->blklen);
8383
}
8484

85-
assert(((uintptr_t)balloc->buf.last & 0xfu) == 0);
85+
assert(((uintptr_t)balloc->buf.last & 0xFU) == 0);
8686

8787
*pbuf = balloc->buf.last;
88-
balloc->buf.last += (n + 0xfu) & ~(uintptr_t)0xfu;
88+
balloc->buf.last += (n + 0xFU) & ~(size_t)0xFU;
8989

9090
return 0;
9191
}

deps/ngtcp2/nghttp3/lib/nghttp3_callbacks.c

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)