http - http.ClientRequest doesn't emit 'aborted'?
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 35.1k
Closed
Labels
Description
opened
on Sep 8, 2017Looking through the _http_client.js code it seems to me that the http.ClientRequest object never emits an ´aborted´ event (only close). It's just the response object that emits the aborted event.
https://github.com/nodejs/node/blob/master/lib/_http_client.js#L366
That seems to go against the docs, https://nodejs.org/api/http.html#http_event_aborted
Metadata
Metadata
Assignees
No one assigned
Labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions