Skip to content

Filter out known hop-by-hop response headers - #151

Closed
louis-cl wants to merge 2 commits into
eclipse-vertx:mainfrom
king:fix-hop-by-hop-response-headers
Closed

Filter out known hop-by-hop response headers#151
louis-cl wants to merge 2 commits into
eclipse-vertx:mainfrom
king:fix-hop-by-hop-response-headers

Conversation

@louis-cl

Copy link
Copy Markdown
Contributor

Fix hop-by-hop response header forwarding

The proxy filtered standard hop-by-hop headers on requests, but normal HTTP responses copied backend headers through without filtering.

We discovered this while proxying an http2 connection client to http1 origin, which returned Connection: close and the http codec failed on client response because the proxy was copying the Connection header.

Note that this change isn't addressing the Connection header parsing to detect other headers to filter, per rfc 2616 section 14.10.

@tsegismont tsegismont added this to the 5.2.0 milestone Jul 7, 2026
@tsegismont tsegismont self-assigned this Jul 7, 2026

@tsegismont tsegismont left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @louis-cl !

@tsegismont

Copy link
Copy Markdown
Member

Merged manually , see cb8b208

@tsegismont tsegismont closed this Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants