Skip to content

Commit

Permalink
http2: fixed failing tests
Browse files Browse the repository at this point in the history
Refs: #33636
  • Loading branch information
preyunk committed May 31, 2020
1 parent 2f3782c commit 5857ca5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/http2/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ function updateSettingsBuffer(settings) {
typeof settings.maxHeaderSize === 'number') {
flags |= (1 << IDX_SETTINGS_MAX_HEADER_LIST_SIZE);
if (settings.maxHeaderListSize !== undefined &&
settings.maxHeaderSize !== undefined &&
(settings.maxHeaderListSize !== settings.maxHeaderSize)) {
throw new ERR_HTTP2_INVALID_SETTING_VALUE.RangeError(
'maxHeaderListSize', settings.maxHeaderListSize
Expand Down

0 comments on commit 5857ca5

Please sign in to comment.