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

fix(tonic): don't remove reserved headers in interceptor #701

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

davidpdrsn
Copy link
Member

@davidpdrsn davidpdrsn commented Jul 8, 2021

InterceptedService would previously use tonic::Request::into_http
which removes reserved headers. That meant inner middleware in the stack
wouldn't be able to see those headers, which could result in errors.

Fixes #700

`InterceptedService` would previously use `tonic::Request::into_http`
which removes reserved headers. That mean inner middleware in the stack
wouldn't be able to see those headers, which could result in errors.

Fixes #700
@LucioFranco LucioFranco merged commit 6711b80 into master Jul 8, 2021
@LucioFranco LucioFranco deleted the david/fix-interceptor-removing-headers branch July 8, 2021 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Interceptor + TLS auth combination broken after 4d266?
2 participants