perf: add config to enable looking up local interface name for upstream connections (#19758)

* connection: add runtime guard to disable looking up local interface name for upstream connections

Signed-off-by: Jose Nino <jnino@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ 8cbbf66dd3f46f3525e3950152d0c8bf666cbd57
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent 765f5cf773
commit 07653fddfc
  1. 5
      envoy/config/cluster/v3/cluster.proto

@ -1177,6 +1177,11 @@ message UpstreamConnectionOptions {
// If set then set SO_KEEPALIVE on the socket to enable TCP Keepalives.
core.v3.TcpKeepalive tcp_keepalive = 1;
// If enabled, associates the interface name of the local address with the upstream connection.
// This can be used by extensions during processing of requests. The association mechanism is
// implementation specific. Defaults to false due to performance concerns.
bool set_local_interface_name_on_upstream_connections = 2;
}
message TrackClusterStats {

Loading…
Cancel
Save