Skip to content

Conversation

@adolfo
Copy link
Contributor

@adolfo adolfo commented Nov 20, 2019

Per the HTTP2 spec, the :authority header should include the authority portion of the URI.

https://http2.github.io/http2-spec/#HttpRequest
https://tools.ietf.org/html/rfc3986#section-3.2

Certain proxies that read the host from the authority field fail to forward the RPC to the correct service. This change sets the authority field to the target host.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 20, 2019

CLA Check
The committers are authorized under a signed CLA.

@glbrntt glbrntt self-requested a review November 26, 2019 11:28
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Ah great catch, thank you so much!

@glbrntt glbrntt merged commit 13a4fde into grpc:nio Nov 26, 2019
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