Skip to content

fix(35353) Added feature updateSettings for http2 SecureServer and Server - #35383

Closed
Vboivin wants to merge 2 commits into
nodejs:masterfrom
Vboivin:35353
Closed

fix(35353) Added feature updateSettings for http2 SecureServer and Server#35383
Vboivin wants to merge 2 commits into
nodejs:masterfrom
Vboivin:35353

Conversation

@Vboivin

@VboivinVboivin commented Sep 28, 2020

Copy link
Copy Markdown

Fixes#35353

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@Vboivin
Vboivin requested review from a team as code ownersSeptember 28, 2020 00:53
@nodejs-github-botnodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label Sep 28, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http
  • @nodejs/http2
  • @nodejs/net

@Vboivin

Copy link
Copy Markdown
Author

This is not done yet, I need to add tests until it is complete

@mscdexmscdex added the wip Issues and PRs that are still a work in progress. label Sep 28, 2020
@Vboivin

Copy link
Copy Markdown
Author

@mscdex This is ready for review.

@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

@FlarnaFlarna removed the wip Issues and PRs that are still a work in progress. label Sep 28, 2020
Comment threaddoc/api/errors.md Outdated
Comment threaddoc/api/http2.md Outdated
Comment threaddoc/api/http2.md Outdated
Comment threaddoc/api/http2.md Outdated
Comment threadtools/lint-md.js Outdated
Comment threadtest/internet/test-http2-update-settings.js Outdated
@TrottTrott added the semver-minor PRs that contain new features and should be released in the next minor version. label Sep 30, 2020
@Trott

Copy link
Copy Markdown
Member

Welcome, @Vboivin, and thanks for the pull request!

Comment threadlib/internal/http2/core.js Outdated
Comment threadlib/internal/http2/core.js Outdated
@Vboivin
Vboivin requested review from Trott and lundibundi and removed request for a teamOctober 1, 2020 06:45
@Vboivin

Copy link
Copy Markdown
Author

@lundibundi@Trott I did the suggested changes, the PR is ready for review again.

@lundibundilundibundi 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.

Good work and thanks for the contribution.

Comment threadtest/parallel/test-http2-update-settings.js Outdated
Comment threaddoc/api/http2.md Outdated
@TrottTrott added the request-ci Add this label to start a Jenkins CI on a PR. label Oct 1, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 1, 2020
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@Trott

Trott commented Oct 23, 2020

Copy link
Copy Markdown
Member

Conflicts showed up with the rebasing for the commit queue, so I pulled this down locally, rebased manually, added a fixup for some punctuation nits, and force-pushed. Let's run CI again and if that works out OK, this should be good to land.

@TrottTrott added request-ci Add this label to start a Jenkins CI on a PR. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Oct 23, 2020
@github-actionsgithub-actionsBot removed the request-ci Add this label to start a Jenkins CI on a PR. label Oct 23, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

nodejs-github-bot commented Oct 24, 2020

Copy link
Copy Markdown
Collaborator

@aduh95aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 25, 2020
@github-actionsgithub-actionsBot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 25, 2020
@github-actions

Copy link
Copy Markdown
Contributor

Landed in 1d5b91d...629e1ab

nodejs-github-bot pushed a commit that referenced this pull request Oct 25, 2020
Allow the user to update the server settings
after using http2.createSecureServer() or
after using http2.createServer().
Fixes: #35353
PR-URL: #35383
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
@Trott

Copy link
Copy Markdown
Member

Thanks for the contribution! 🎉

targos pushed a commit that referenced this pull request Nov 3, 2020
Allow the user to update the server settings
after using http2.createSecureServer() or
after using http2.createServer().
Fixes: #35353
PR-URL: #35383
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
targos added a commit that referenced this pull request Nov 3, 2020
Notable changes:
child_process:
* (SEMVER-MINOR) add ChildProcess 'spawn' event (Matthew Francis Brunetti) #35369
dns:
* (SEMVER-MINOR) add setLocalAddress to Resolver (Josh Dague) #34824
http:
* (SEMVER-MINOR) report request start and end with diagnostics_channel (Stephen Belanger) #34895
http2:
* (SEMVER-MINOR) add updateSettings to both http2 servers (Vincent Boivin) #35383
lib:
* (SEMVER-MINOR) create diagnostics_channel module (Stephen Belanger) #34895
src:
* (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
v8:
* (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
* (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
* (SEMVER-MINOR) add eventLoopUtilization() (Trevor Norris) #35664
PR-URL: TODO
@targostargos mentioned this pull request Nov 3, 2020
targos added a commit that referenced this pull request Nov 3, 2020
Notable changes:
child_process:
* (SEMVER-MINOR) add ChildProcess 'spawn' event (Matthew Francis Brunetti) #35369
dns:
* (SEMVER-MINOR) add setLocalAddress to Resolver (Josh Dague) #34824
http:
* (SEMVER-MINOR) report request start and end with diagnostics_channel (Stephen Belanger) #34895
http2:
* (SEMVER-MINOR) add updateSettings to both http2 servers (Vincent Boivin) #35383
lib:
* (SEMVER-MINOR) create diagnostics_channel module (Stephen Belanger) #34895
src:
* (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
v8:
* (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
* (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
* (SEMVER-MINOR) add eventLoopUtilization() (Trevor Norris) #35664
PR-URL: #35948
MylesBorins pushed a commit that referenced this pull request Nov 4, 2020
Notable changes:
child_process:
* (SEMVER-MINOR) add ChildProcess 'spawn' event (Matthew Francis Brunetti) #35369
dns:
* (SEMVER-MINOR) add setLocalAddress to Resolver (Josh Dague) #34824
http:
* (SEMVER-MINOR) report request start and end with diagnostics_channel (Stephen Belanger) #34895
http2:
* (SEMVER-MINOR) add updateSettings to both http2 servers (Vincent Boivin) #35383
lib:
* (SEMVER-MINOR) create diagnostics_channel module (Stephen Belanger) #34895
src:
* (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
v8:
* (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
* (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
* (SEMVER-MINOR) add eventLoopUtilization() (Trevor Norris) #35664
PR-URL: #35948
targos added a commit that referenced this pull request Nov 4, 2020
Notable changes:
child_process:
* (SEMVER-MINOR) add ChildProcess 'spawn' event (Matthew Francis Brunetti) #35369
dns:
* (SEMVER-MINOR) add setLocalAddress to Resolver (Josh Dague) #34824
http:
* (SEMVER-MINOR) report request start and end with diagnostics_channel (Stephen Belanger) #34895
http2:
* (SEMVER-MINOR) add updateSettings to both http2 servers (Vincent Boivin) #35383
lib:
* (SEMVER-MINOR) create diagnostics_channel module (Stephen Belanger) #34895
src:
* (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
v8:
* (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
* (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
* (SEMVER-MINOR) add eventLoopUtilization() (Trevor Norris) #35664
PR-URL: #35948
targos added a commit that referenced this pull request Nov 4, 2020
Notable changes:
child_process:
* (SEMVER-MINOR) add ChildProcess 'spawn' event (Matthew Francis Brunetti) #35369
dns:
* (SEMVER-MINOR) add setLocalAddress to Resolver (Josh Dague) #34824
http:
* (SEMVER-MINOR) report request start and end with diagnostics_channel (Stephen Belanger) #34895
http2:
* (SEMVER-MINOR) add updateSettings to both http2 servers (Vincent Boivin) #35383
lib:
* (SEMVER-MINOR) create diagnostics_channel module (Stephen Belanger) #34895
src:
* (SEMVER-MINOR) add --heapsnapshot-near-heap-limit option (Joyee Cheung) #33010
v8:
* (SEMVER-MINOR) implement v8.stopCoverage() (Joyee Cheung) #33807
* (SEMVER-MINOR) implement v8.takeCoverage() (Joyee Cheung) #33807
worker:
* (SEMVER-MINOR) add eventLoopUtilization() (Trevor Norris) #35664
PR-URL: #35948
targos pushed a commit that referenced this pull request May 1, 2021
Allow the user to update the server settings
after using http2.createSecureServer() or
after using http2.createServer().
Fixes: #35353
PR-URL: #35383
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
@danielleadamsdanielleadams mentioned this pull request May 3, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.http2Issues or PRs related to the http2 subsystem.semver-minorPRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update HTTP/2 server settings after .listen()

12 participants

@Vboivin@nodejs-github-bot@Trott@ZYSzys@apapirovski@mcollina@jasnell@lundibundi@rickyes@mscdex@aduh95@Flarna