forked from line/armeria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable request timeout if
grpc-timeout
is omitted while `useClient…
…TimeoutHeader` is enabled. (line#5144) Motivation: gRPC specification says: > If Timeout is omitted a server should assume an infinite timeout. > Client implementations are free to send a default minimum timeout > based on their deployment requirements. Armeria gRPC implementation does not follow the specification and uses the server's timeout as is. Modifications: - Clear a request timeout if no `grpc-timeout` header is set when `useClientTimeoutHeader` enabled Result: Armeria gRPC service no longer schedules a timeout if `grpc-timeout` header is omitted when `GrpcServiceBuilder.userClientTimeoutHeader()` is enabled.
- Loading branch information
Showing
3 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters