-
Notifications
You must be signed in to change notification settings - Fork 30k
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
http: fix double AbortSignal registration #37730
Merged
Trott
merged 1 commit into
nodejs:master
from
Linkgoron:http-fix-double-abort-signal-registration
Mar 20, 2021
Merged
http: fix double AbortSignal registration #37730
Trott
merged 1 commit into
nodejs:master
from
Linkgoron:http-fix-double-abort-signal-registration
Mar 20, 2021
Conversation
This file contains 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
nodejs-github-bot
added
http
Issues or PRs related to the http subsystem.
needs-ci
PRs that need a full CI run.
labels
Mar 12, 2021
Linkgoron
force-pushed
the
http-fix-double-abort-signal-registration
branch
from
March 12, 2021 21:09
fca3195
to
5e0e0d2
Compare
benjamingr
approved these changes
Mar 12, 2021
aduh95
reviewed
Mar 12, 2021
Linkgoron
force-pushed
the
http-fix-double-abort-signal-registration
branch
3 times, most recently
from
March 13, 2021 01:36
43d4392
to
5fae5af
Compare
Linkgoron
force-pushed
the
http-fix-double-abort-signal-registration
branch
2 times, most recently
from
March 13, 2021 23:56
fc42d56
to
38771f4
Compare
Linkgoron
force-pushed
the
http-fix-double-abort-signal-registration
branch
from
March 19, 2021 21:09
38771f4
to
ee27a86
Compare
Trott
approved these changes
Mar 20, 2021
Fix an issue where AbortSignals are registered twice PR-URL: nodejs#37730 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Trott
force-pushed
the
http-fix-double-abort-signal-registration
branch
from
March 20, 2021 19:53
ee27a86
to
711e210
Compare
Landed in 711e210 |
ruyadorno
pushed a commit
that referenced
this pull request
Mar 24, 2021
Fix an issue where AbortSignals are registered twice PR-URL: #37730 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Rich Trott <[email protected]>
Merged
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.
It looks like #36431 added support for AbortSignal to
net.createConnection
andnet.connect
(will add tests/docs in a separate PR). This caused "double registration" to the AbortSignal. This PR fixes the issue by removing the signal from the internal calls tonet
.Also added tests for http.agent
@benjamingr