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: deprecate http.ClientRequest 'aborted' event #15469

Closed
ronag opened this issue Sep 19, 2017 · 4 comments
Closed

http: deprecate http.ClientRequest 'aborted' event #15469

ronag opened this issue Sep 19, 2017 · 4 comments
Labels
http Issues or PRs related to the http subsystem.

Comments

@ronag
Copy link
Member

ronag commented Sep 19, 2017

We might consider emitting a ECONNRESET for the response aborted case (just like the request) and then deprecate the aborted event (i.e. remove it from the docs) since it is already achieved through ECONNRESET error events.

@lpinca
Copy link
Member

lpinca commented Sep 19, 2017

Title is misleading as there is no 'aborted' event on http.ClientRequest, only 'abort'.

@ronag
Copy link
Member Author

ronag commented Sep 19, 2017

@lpinca
Copy link
Member

lpinca commented Sep 19, 2017

Yes, that is wrong as discussed in #15259.
PR to fix the issue: #15471.

@mscdex mscdex added the http Issues or PRs related to the http subsystem. label Sep 19, 2017
@lpinca
Copy link
Member

lpinca commented Sep 29, 2017

Closing as #15471 has been merged.

@lpinca lpinca closed this as completed Sep 29, 2017
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

3 participants