mirror of
https://github.com/status-im/consul.git
synced 2025-01-25 05:00:32 +00:00
9e48607893
Convert more of the xRoutes features that were skipped in an earlier PR into ComputedRoutes and make them work: - DestinationPolicy defaults - more timeouts - load balancer policy - request/response header mutations - urlrewrite - GRPCRoute matches
20 lines
593 B
Protocol Buffer
20 lines
593 B
Protocol Buffer
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
syntax = "proto3";
|
|
|
|
package hashicorp.consul.mesh.v2beta1;
|
|
|
|
import "google/protobuf/duration.proto";
|
|
|
|
// HTTPRouteTimeouts defines timeouts that can be configured for an HTTPRoute
|
|
// or GRPCRoute.
|
|
message HTTPRouteTimeouts {
|
|
// RequestTimeout is the total amount of time permitted for the entire
|
|
// downstream request (and retries) to be processed.
|
|
google.protobuf.Duration request = 1;
|
|
|
|
// Idle specifies the total amount of time permitted for the request stream to be idle.
|
|
google.protobuf.Duration idle = 2;
|
|
}
|