apache / apache/rocketmq

Close both HTTP/2 proxy channels after backend failures

Open Beginner friendly
#10,745 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
22.6k
Forks
12k
Avg merge
3d 1h
Merged PRs (30d)
27

Description

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.

Contributor guide

Open the contributing guide

Research direction

Start with Http2ProxyBackendHandler and inspect its backend-write and handler-exception failure paths. The change is complete when both sides of the proxied connection close on each path; run the relevant existing HTTP/2 proxy tests or add coverage if the repository provides them.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
networking
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
75/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.