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 error when client has a very large deadline #762

Merged
merged 3 commits into from
Feb 11, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Feb 9, 2020

Fixes #751

@shshzi I ended up using the solution you suggested. There is a limit of 99999999 seconds that matches what I found in Grpc.Core.

Also makes the calls with a past deadline fail immediately, without sending a HTTP request to the server. @jtattermusch I saw that behavior in ccore but it would be great if you could confirm that is how gRPC clients handle starting a call with a deadline that has already past.

@JamesNK
Copy link
Member Author

JamesNK commented Feb 11, 2020

Checked with @jtattermusch offline about past deadline behavior.

@JamesNK JamesNK merged commit 1de1aaf into grpc:master Feb 11, 2020
@JamesNK JamesNK deleted the jamesnk/large-deadline branch February 11, 2020 19:28
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.

Setting a deadline longer than 49 days,17 hours fails silently
2 participants