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

Remove grpc-timeout header from reserved headers #603

Merged

Conversation

liufuyang
Copy link
Contributor

@liufuyang liufuyang commented Apr 12, 2021

Motivation

We have some gRPC servers in Java which requires callers to it set deadline. Currently seems it is not possible to use tonic as a client to talk to those servers as we cannot set grpc-timeout on the header?

As it also mentioned and others would like to remove this as well in PR #516, also related to this discussion #75.

Not sure when can #516 be shipped in but this change could perhaps go in first as it blocks not me (see #75 (comment))

Solution

Remove grpc-timeout from the reserved list.

Otherwise please let me know how to set deadline on the call from tonic as a client.

@davidpdrsn
Copy link
Member

Makes sense while we wait for #516

@davidpdrsn davidpdrsn merged commit 0b53598 into hyperium:master Apr 13, 2021
@liufuyang liufuyang deleted the remote-timeout-header-from-reserved-list branch April 13, 2021 07:37
@liufuyang
Copy link
Contributor Author

Thank you :)

LucioFranco added a commit that referenced this pull request Apr 13, 2021
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