Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.161.3: cherry-pick #1699 #1803

Merged
merged 1 commit into from
Jun 30, 2022
Merged

2.161.3: cherry-pick #1699 #1803

merged 1 commit into from
Jun 30, 2022

Conversation

hawkw
Copy link
Member

@hawkw hawkw commented Jun 30, 2022

When the proxy transports CONNECT requests, the client silently
ignores content-length and transport-encoding response headers, as
it should. When the proxy passees these headers to the hyper server, it
errors (as is dictated by the RFC).

This change updates the HTTP client to remove these headers from
responses so that the proxy no longer propagates these illegal headers.

Fixes linkerd/linkerd2#8539

Signed-off-by: Oliver Gould ver@buoyant.io

When the proxy transports `CONNECT` requests, the client silently
ignores `content-length` and `transport-encoding` response headers, as
it should. When the proxy passees these headers to the hyper server, it
errors (as is dictated by the RFC).

This change updates the HTTP client to remove these headers from
responses so that the proxy no longer propagates these illegal headers.

Fixes linkerd/linkerd2#8539

Signed-off-by: Oliver Gould <ver@buoyant.io>
@hawkw hawkw requested a review from a team as a code owner June 30, 2022 23:09
@hawkw
Copy link
Member Author

hawkw commented Jun 30, 2022

Part of linkerd/linkerd2#8779

@hawkw hawkw mentioned this pull request Jun 30, 2022
13 tasks
@hawkw hawkw merged commit ac1039b into release/v2.161 Jun 30, 2022
@hawkw hawkw deleted the eliza/backport-1699 branch June 30, 2022 23:52
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.

3 participants