Skip to content

http, async_hooks: Consider async_hooks implications of the API that HTTP Agent uses #13352

Closed
@refack

Description

@refack
  • Version: master
  • Platform: *
  • Subsystem: http, async_hooks

The HTTP Agent is designed to be inherited and it's methods overridden. Currently there is non encapsulated async_hooks logic that can break if not re-implemented in overridden methods. We should better encapsulate this logic, and document for custom Agent implementors.

Ref: #13045
Ref: #13325

/cc @nodejs/async_hooks

Metadata

Metadata

Assignees

No one assigned

    Labels

    async_hooksIssues and PRs related to the async hooks subsystem.httpIssues or PRs related to the http subsystem.wipIssues and PRs that are still a work in progress.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions