Skip to content

http2 - compat should not emit aborted on request if has response #15339

@ronag

Description

@ronag

Per discussion in, #15270.

h2 compat should not emit aborted on the request object if the stream has received a response. To make it consistent with h1 behavior.

Depending on #15270 we might want to also make h2 compat request emit a ECONNRESET on aborted. To make it consistent with h1 behavior.

I'm a little unsure about the http.ClientRequest vs http.IncomingMessage behavior. Are they the same or different? I'm basing this soley on http.ClientRequest behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions