Skip to content

http: IncomingMessage emits 'end' after 'close' #29295

@ronag

Description

@ronag

'end' can be emitted after 'close'. This can cause e.g. pipeline to error with a
ERR_STREAM_PREMATURE_CLOSE.

See, nxtedition#1 for repo test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    httpIssues or PRs related to the http subsystem.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions