deps: update nghttp2 to 1.55.1 · nodejs/node@ef7728b · GitHub
Skip to content

Commit ef7728b

Browse files
nodejs-github-botjuanarbol
authored andcommitted
deps: update nghttp2 to 1.55.1
PR-URL: #48790 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 1454f02 commit ef7728b

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

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

Lines changed: 2 additions & 2 deletions

deps/nghttp2/lib/nghttp2_session.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3296,6 +3296,7 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session,
32963296
if (rv < 0) {
32973297
int32_t opened_stream_id = 0;
32983298
uint32_t error_code = NGHTTP2_INTERNAL_ERROR;
3299+
int rv2 = 0;
32993300

33003301
DEBUGF("send: frame preparation failed with %s\n",
33013302
nghttp2_strerror(rv));
@@ -3338,19 +3339,18 @@ static ssize_t nghttp2_session_mem_send_internal(nghttp2_session *session,
33383339
}
33393340
if (opened_stream_id) {
33403341
/* careful not to override rv */
3341-
int rv2;
33423342
rv2 = nghttp2_session_close_stream(session, opened_stream_id,
33433343
error_code);
3344-
3345-
if (nghttp2_is_fatal(rv2)) {
3346-
return rv2;
3347-
}
33483344
}
33493345

33503346
nghttp2_outbound_item_free(item, mem);
33513347
nghttp2_mem_free(mem, item);
33523348
active_outbound_item_reset(aob, mem);
33533349

3350+
if (nghttp2_is_fatal(rv2)) {
3351+
return rv2;
3352+
}
3353+
33543354
if (rv == NGHTTP2_ERR_HEADER_COMP) {
33553355
/* If header compression error occurred, should terminiate
33563356
connection. */

doc/contributing/maintaining/maintaining-dependencies.md

Lines changed: 3 additions & 3 deletions

0 commit comments

Comments
 (0)