http: move free socket error handling to agent#32003
Closed
ronag wants to merge 1 commit intonodejs:masterfrom
Closed
http: move free socket error handling to agent#32003ronag wants to merge 1 commit intonodejs:masterfrom
ronag wants to merge 1 commit intonodejs:masterfrom
Conversation
99d8e3e to
1f13aa4
Compare
ronag
commented
Feb 28, 2020
ronag
commented
Feb 28, 2020
lib/_http_client.js
Outdated
Member
Author
There was a problem hiding this comment.
This should be handled at some point in a separate PR. If an error is scheduled in the nextTick then it would become unhandled.
It's always been a problem as far as I can see.
bnoordhuis
reviewed
Feb 28, 2020
bnoordhuis
approved these changes
Feb 28, 2020
jasnell
reviewed
Mar 2, 2020
jasnell
reviewed
Mar 2, 2020
mcollina
reviewed
Mar 2, 2020
Member
|
@ronag This needs a rebase :) |
Member
Author
Damn! I keep causing conflicts :D. |
bbe1217 to
2a2c211
Compare
ronag
commented
Mar 9, 2020
Member
Author
mcollina
reviewed
Mar 9, 2020
Member
mcollina
left a comment
There was a problem hiding this comment.
This needs a CITGM run.
Is this going to affect https://www.npmjs.com/package/http-proxy-agent?
Member
Collaborator
Member
Author
Member
Author
|
CITGM looks good |
Member
Author
@mcollina: As far as I can see, no. It just calls |
Member
Author
|
@nodejs/http |
addaleax
approved these changes
Mar 29, 2020
Collaborator
Member
|
@ronag Looks like this needs to be rebased again. |
The http client should not know anything about free sockets. Let the agent handle its pool of sockets.
b51610b to
1772f20
Compare
Member
Author
|
rebased |
Collaborator
Collaborator
Member
|
Landed in 2bf0228 |
addaleax
pushed a commit
that referenced
this pull request
Mar 30, 2020
The http client should not know anything about free sockets. Let the agent handle its pool of sockets. PR-URL: #32003 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
addaleax
pushed a commit
that referenced
this pull request
Mar 30, 2020
The http client should not know anything about free sockets. Let the agent handle its pool of sockets. PR-URL: #32003 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
targos
pushed a commit
that referenced
this pull request
Apr 22, 2020
The http client should not know anything about free sockets. Let the agent handle its pool of sockets. PR-URL: #32003 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Anna Henningsen <anna@addaleax.net> 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.
The http client should not know anything about free sockets. Let
the agent handle its pool of sockets.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes