router: allow configuring retriable error codes (#4597)

This adds the ability to list arbitrary status codes as retryable.

Part of #4103

Signed-off-by: Snow Pettersen <snowp@squareup.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3b00c8ee37caddca2215c5f61489d17ed2733890
pull/620/head
data-plane-api(CircleCI) 7 years ago
parent 43e0c56462
commit f3ced3e6a3
  1. 3
      envoy/api/v2/route/route.proto

@ -532,6 +532,9 @@ message RouteAction {
// point the host that was last selected will be routed to. If unspecified, this will default to
// retrying once.
int64 host_selection_retry_max_attempts = 6;
// HTTP status codes that should trigger a retry in addition to those specified by retry_on.
repeated uint32 retriable_status_codes = 7;
}
// Specifies the idle timeout for the route. If not specified, there is no per-route idle timeout,

Loading…
Cancel
Save