deps: update nghttp3 to 1.14.0 · nodejs/node@722c0c3 · GitHub
Skip to content

Commit 722c0c3

Browse files
nodejs-github-botaduh95
authored andcommitted
deps: update nghttp3 to 1.14.0
PR-URL: #61187 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 5304db9 commit 722c0c3

24 files changed

Lines changed: 453 additions & 589 deletions

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

Lines changed: 78 additions & 2 deletions

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*
3232
* Version number of the nghttp3 library release.
3333
*/
34-
#define NGHTTP3_VERSION "1.13.1"
34+
#define NGHTTP3_VERSION "1.14.0"
3535

3636
/**
3737
* @macro
@@ -41,6 +41,6 @@
4141
* number, 8 bits for minor and 8 bits for patch. Version 1.2.3
4242
* becomes 0x010203.
4343
*/
44-
#define NGHTTP3_VERSION_NUM 0x010d01
44+
#define NGHTTP3_VERSION_NUM 0x010e00
4545

4646
#endif /* !defined(NGHTTP3_VERSION_H) */

deps/ngtcp2/nghttp3/lib/nghttp3_balloc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ typedef struct nghttp3_balloc {
6464

6565
/*
6666
* nghttp3_balloc_init initializes |balloc| with |blklen| which is the
67-
* size of memory block.
67+
* size of memory block. |blklen| must be divisible by 16.
6868
*/
6969
void nghttp3_balloc_init(nghttp3_balloc *balloc, size_t blklen,
7070
const nghttp3_mem *mem);

deps/ngtcp2/nghttp3/lib/nghttp3_buf.c

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,12 @@ int nghttp3_buf_reserve(nghttp3_buf *buf, size_t size, const nghttp3_mem *mem) {
7272
return NGHTTP3_ERR_NOMEM;
7373
}
7474

75-
buf->begin = p;
76-
buf->end = p + size;
77-
buf->pos = p + pos_offset;
78-
buf->last = p + last_offset;
75+
*buf = (nghttp3_buf){
76+
.begin = p,
77+
.end = p + size,
78+
.pos = p + pos_offset,
79+
.last = p + last_offset,
80+
};
7981

8082
return 0;
8183
}

deps/ngtcp2/nghttp3/lib/nghttp3_callbacks.c

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)