Skip to content

Commit 5857ca5

Browse files
committed
http2: fixed failing tests
Refs: #33636
1 parent 2f3782c commit 5857ca5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/internal/http2/util.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ function updateSettingsBuffer(settings) {
354354
typeof settings.maxHeaderSize === 'number') {
355355
flags |= (1 << IDX_SETTINGS_MAX_HEADER_LIST_SIZE);
356356
if (settings.maxHeaderListSize !== undefined &&
357+
settings.maxHeaderSize !== undefined &&
357358
(settings.maxHeaderListSize !== settings.maxHeaderSize)) {
358359
throw new ERR_HTTP2_INVALID_SETTING_VALUE.RangeError(
359360
'maxHeaderListSize', settings.maxHeaderListSize

0 commit comments

Comments
 (0)