Skip to content

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

@ronag

Description

@ronag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    httpIssues or PRs related to the http subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions