CallCredentials should respect the Deadline
Open
- Dominant language
- Java
- Stars
- 12.1k
- Forks
- 4k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 37
Description
Please answer these questions before submitting your issue.
### What version of gRPC are you using?
1.15.1
### What did you expect to see?
An RPC should never outlast a deadline set in either `CallOptions` or `grpc.
### What I actually saw?
`CallCredentials` does not respect deadlines, so a `ClientCall` cannot guarantee that the RPC will finish within a set deadline (for example if an OAuth token needs to be refreshed). Furthermore, the current `CallCredential` api makes it impossible for `CallCredentials` to access the deadline set in `CallOptions`.
Contributor guide
Assessment
This issue has not been assessed yet.