FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

http2: Http2Stream server shutdown setting shuttingDown=true after validating options by trivikr · Pull Request #15676 · nodejs/node · GitHub

/ node Public

http2: Http2Stream server shutdown setting shuttingDown=true after validating options - #15676

Closed
trivikr wants to merge 1 commit into
nodejs:masterfrom
trivikr:http2-test-session-shutdown-options
Closed

http2: Http2Stream server shutdown setting shuttingDown=true after validating options#15676
trivikr wants to merge 1 commit into
nodejs:masterfrom
trivikr:http2-test-session-shutdown-options

Conversation

trivikr commented Sep 29, 2017

Copy link
Copy Markdown
Member

In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

Refs: #14985
Fixes: #15666

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

http2, test

In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

Refs: nodejs#14985
Fixes: nodejs#15666
nodejs-github-bot added the http2 Issues or PRs related to the http2 subsystem. label Sep 29, 2017

BridgeAR commented Oct 1, 2017

Copy link
Copy Markdown
Member

BridgeAR changed the title src: Http2Stream server shutdown setting shuttingDown=true after validating options http2: Http2Stream server shutdown setting shuttingDown=true after validating options Oct 2, 2017

BridgeAR commented Oct 2, 2017
edited
Loading

Copy link
Copy Markdown
Member

Landed in 7f0183e

BridgeAR closed this Oct 2, 2017
BridgeAR pushed a commit that referenced this pull request Oct 2, 2017
In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

PR-URL: #15676
Fixes: #15666
Refs: #14985
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

BridgeAR commented Oct 2, 2017

Copy link
Copy Markdown
Member

I updated the commit ID

trivikr deleted the http2-test-session-shutdown-options branch October 2, 2017 06:44
MylesBorins pushed a commit that referenced this pull request Oct 3, 2017
In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

PR-URL: #15676
Fixes: #15666
Refs: #14985
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins mentioned this pull request Oct 3, 2017
MylesBorins pushed a commit that referenced this pull request Oct 3, 2017
In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

PR-URL: #15676
Fixes: #15666
Refs: #14985
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
addaleax pushed a commit to addaleax/ayo that referenced this pull request Oct 4, 2017
In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

PR-URL: nodejs/node#15676
Fixes: nodejs/node#15666
Refs: nodejs/node#14985
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
MylesBorins pushed a commit that referenced this pull request Oct 11, 2017
In shutdown(), shuttingDown was set to true before validating options.
If invalid options are passed, error was thrown and server remained in
shuttingDown state. This code change fixes it.

PR-URL: #15676
Fixes: #15666
Refs: #14985
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http2 Issues or PRs related to the http2 subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should invalid options for http2.session.shutdown() be checked before state shuttingDown is updated to true?

5 participants


Back | FazBrowse Home | New Git URL