-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http2: guard against destroy in socket timeout #15106
Conversation
@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 |
@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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Landed in 09480a8 |
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 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