Skip to content

Do not 503 on Upgrade: h2c instead remove the header and ignore. (#7981)#101

Merged
jplevyak merged 1 commit intoistio:release-1.3from
jplevyak:release-1.3-h2c-java-fix
Sep 5, 2019
Merged

Do not 503 on Upgrade: h2c instead remove the header and ignore. (#7981)#101
jplevyak merged 1 commit intoistio:release-1.3from
jplevyak:release-1.3-h2c-java-fix

Conversation

@jplevyak
Copy link
Copy Markdown

@jplevyak jplevyak commented Sep 5, 2019

Description: When a request comes in on http1 with "upgrade: h2c", the current behavior is to 503. Instead we should ignore the upgrade and remove the header and continue with the request as http1.
Risk Level: Medium
Testing: Unit test. Hand test with ithub.com/rdsubhas/java-istio client server locally.
Docs Changes: N/A
Release Notes: http1: ignore and remove Upgrade: h2c.
Fixes istio/istio#16391

Signed-off-by: John Plevyak jplevyak@gmail.com

Cherry-pick from envoyproxy/envoy

…oyproxy#7981)

Description: When a request comes in on http1 with "upgrade: h2c", the current behavior is to 503.  Instead we should ignore the upgrade and remove the header and continue with the request as http1.
Risk Level: Medium
Testing: Unit test. Hand test with ithub.com/rdsubhas/java-istio client server locally.
Docs Changes: N/A
Release Notes:  http1: ignore and remove Upgrade: h2c.
Fixes istio/istio#16391

Signed-off-by: John Plevyak <jplevyak@gmail.com>
Copy link
Copy Markdown

@rlenglet rlenglet left a comment

Choose a reason for hiding this comment

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

Thanks!
Please also update the Envoy SHA in istio/proxy, and the istio/proxy SHA in istio/istio once this is merged.

@jplevyak jplevyak merged commit 6577606 into istio:release-1.3 Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants