Skip to content

http2: add maxHeaderSize option to http2 - #33636

Closed
preyunk wants to merge 7 commits into
nodejs:masterfrom
preyunk:http2-max-header
Closed

http2: add maxHeaderSize option to http2#33636
preyunk wants to merge 7 commits into
nodejs:masterfrom
preyunk:http2-max-header

Conversation

@preyunk

Copy link
Copy Markdown
Contributor

add maxHeaderSize to http2 as an alias for maxHeaderListSize.

Fixes: #33517

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-botnodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label May 29, 2020

@himself65himself65 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests needed

@preyunk
preyunk marked this pull request as draft May 29, 2020 11:45
Comment threadlib/internal/http2/util.js Outdated

@rexagodrexagod left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add tests for test-http2-session-settings.js, test-http2-client-settings-before-connect.js, and test-http2-too-large-headers.js as well.

Comment threadlib/internal/http2/util.js Outdated
Comment threadlib/internal/http2/util.js Outdated
@preyunk

preyunk commented May 29, 2020

Copy link
Copy Markdown
ContributorAuthor

Guess I forgot to run the linter before pushing, will push the changes after fixing the issues.
Also my origin HEAD was behind my local branch's HEAD so I followed the steps written in pull-requests.md and did a git push --force-with-lease origin my-branch

@preyunk
preyunkforce-pushed the http2-max-header branch 2 times, most recently from cc3ffed to 2f3782cCompareMay 30, 2020 14:58
@preyunk
preyunk requested a review from himself65May 30, 2020 19:12
Comment threadtest/parallel/test-http2-too-large-headers.js Outdated
Comment threadtest/parallel/test-http2-too-large-headers.js Outdated

@himself65himself65 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's more, we need to add the doc for the new features

@preyunk

preyunk commented May 31, 2020

Copy link
Copy Markdown
ContributorAuthor

@himself65 any guidelines as what should be written for maxHeaderSize in docs? I am thinking like mentioning it as an alias for maxHeaderListSize.

@BridgeAR
BridgeARforce-pushed the master branch 2 times, most recently from 8ae28ff to 2935f72CompareMay 31, 2020 12:18
@himself65

Copy link
Copy Markdown
Member

@himself65 any guidelines as what should be written for maxHeaderSize in docs? I am thinking like mentioning it as an alias for maxHeaderListSize.

https://github.com/nodejs/node/blob/master/doc/guides/doc-style-guide.md

@preyunk
preyunk requested a review from himself65May 31, 2020 17:35
Comment threadlib/internal/http2/util.js
@preyunk

Copy link
Copy Markdown
ContributorAuthor

@himself65 It's been more than 7 days since it was approved, just wanted to know if it could be merged with 1 approval now?

@himself65

Copy link
Copy Markdown
Member

Don’t worry. I think we need review by other member to make sure the PR is correct and better.

@preyunk
preyunk requested review from a team as code ownersAugust 10, 2020 16:07

@mcollinamcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@preyunk
preyunk requested review from rexagod and removed request for a teamAugust 11, 2020 09:12
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@mcollina

Copy link
Copy Markdown
Member

@rexagod it seems your request for change has been addressed. Can you confirm?

@rexagod

Copy link
Copy Markdown
Member

@mcollina

Copy link
Copy Markdown
Member

Landed in 3b84048

mcollina pushed a commit that referenced this pull request Aug 12, 2020
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: #33517
PR-URL: #33636
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
MylesBorins pushed a commit that referenced this pull request Aug 17, 2020
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: #33517
PR-URL: #33636
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@danielleadamsdanielleadams mentioned this pull request Aug 20, 2020
BethGriggs pushed a commit that referenced this pull request Aug 20, 2020
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: #33517
PR-URL: #33636
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: #33517
PR-URL: #33636
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
addaleax pushed a commit that referenced this pull request Sep 22, 2020
add maxHeaderSize to http2 as an alias for maxHeaderListSize.
Fixes: #33517
PR-URL: #33636
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@codebyterecodebytere mentioned this pull request Sep 28, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http2Issues or PRs related to the http2 subsystem.review wantedPRs that need reviews.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add 'maxHeaderSize' to 'http2'

5 participants

@preyunk@himself65@rexagod@nodejs-github-bot@mcollina