http2: guard against destroy in socket timeout#15106
Closed
jasnell wants to merge 1 commit intonodejs:masterfrom
Closed
http2: guard against destroy in socket timeout#15106jasnell wants to merge 1 commit intonodejs:masterfrom
jasnell wants to merge 1 commit intonodejs:masterfrom
Conversation
Member
Author
|
@AndrewBarba ... can you check to see if this resolves the issue you described in #14964 Sorry it's taken a bit to get this in! |
|
No worries! Will test tonight/tomorrow |
Member
|
@jasnell I think you can test this by calling |
Guard against destroyed session in timeouts and goaway event. Improve timeout handling a bit. Fixes: nodejs#14964
7792388 to
6930ac7
Compare
Member
Author
3 tasks
Member
Author
|
Landed in 09480a8 |
Merged
addaleax
pushed a commit
to addaleax/node
that referenced
this pull request
Sep 13, 2017
Guard against destroyed session in timeouts and goaway event. Improve timeout handling a bit. PR-URL: nodejs#15106 Fixes: nodejs#14964 Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This one is difficult to test reliably, but in certain
instances when timeout is emitted the session may already
be destroyed. Just guard against it.
Fixes: #14964
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
http2