-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(outbound): Control retry & timeout policies with headers
Recent changes have introduced the ability to control retry and timeout via the control plane. This PR extends this functionality with a set of headers that can be used to augment/override these policies on a per-request basis. This feature must be enabled by the control plane (via OutboundPolicy API response). When enabled, the following headers can be used to control retry and timeouts: - `l5d-timeout` / `l5d-request-timeout`: Controls the overall request-response stream timeout. - `l5d-response-timeout`: Controls the timeout for the response stream. - `l5d-retry-timeout`: Controls the timeout for each retry attempt (triggering another retry if exceeded). - `l5d-retry-limit`: Controls the maximum number of retries. - `l5d-retry-http`: Controls the HTTP status codes that trigger a retry. - `l5d-retry-grpc`: Controls the gRPC status codes that trigger a retry.
- Loading branch information
Showing
8 changed files
with
442 additions
and
19 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
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
Oops, something went wrong.