Skip to content

Close both HTTP/2 proxy channels after backend failures #10745

Description

@cragkhit

Http2ProxyBackendHandler currently closes only one side of a proxied connection when a backend write or handler exception fails. The peer channel can remain open until another event closes it. The proposed change closes both sides on these failure paths. This issue accompanies a Matcha study recommendation derived from https://stackoverflow.com/a/42681543.

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