Skip to content

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

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

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

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.

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.

1 participant