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

Include HTTP req.remoteAddr in gRPC ctx #174

Merged
merged 4 commits into from
Jun 6, 2016

Conversation

mikeatlas
Copy link

@mikeatlas mikeatlas commented Jun 3, 2016

This annotates the gRPC request context with the HTTP remote address, which is a solution the problem of the gRPC service not being able to correctly identify the remote peer address due to the proxy-forwarding nature of grpc-gateway, which I described in #173.

@yugui yugui merged commit 2732962 into grpc-ecosystem:master Jun 6, 2016
@yugui
Copy link
Member

yugui commented Jun 6, 2016

Thank you.
I merged it, but I did not choose the metadata name "RemoteAddr" because there was a similar PR #155.

@mikeatlas
Copy link
Author

The PR #155 is more comprehensive than my changeset. Thanks for the merge and pointer 👍

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