Skip to content
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: ClientRequest might never emit close if has agent and is aborted #28684

Closed
ronag opened this issue Jul 14, 2019 · 2 comments
Closed

http: ClientRequest might never emit close if has agent and is aborted #28684

ronag opened this issue Jul 14, 2019 · 2 comments
Labels
http Issues or PRs related to the http subsystem.

Comments

@ronag
Copy link
Member

ronag commented Jul 14, 2019

Not sure how to trigger this since I'm not a heavy agent user but looking at the following section:

https://github.com/nodejs/node/blob/master/lib/_http_client.js#L710

If I call abort it looks like only abort might be emitted and close is never.

@ronag
Copy link
Member Author

ronag commented Jul 14, 2019

@mcollina ping

@lpinca lpinca added the http Issues or PRs related to the http subsystem. label Jul 28, 2019
Trott pushed a commit that referenced this issue Oct 15, 2019
PR-URL: #28685
Refs: #28684
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
@ronag
Copy link
Member Author

ronag commented Apr 19, 2020

I believe this has been resolved.

@ronag ronag closed this as completed Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem.
Projects
None yet
Development

No branches or pull requests

2 participants