Skip to content

CallCredentials should respect the Deadline #4929

Open
@igorbernstein2

Description

@igorbernstein2

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions