open-consul/agent/grpc-external
Dan Upton 618deae657
xds: don't attempt to load-balance sessions for local proxies (#15789)
Previously, we'd begin a session with the xDS concurrency limiter
regardless of whether the proxy was registered in the catalog or in
the server's local agent state.

This caused problems for users who run `consul connect envoy` directly
against a server rather than a client agent, as the server's locally
registered proxies wouldn't be included in the limiter's capacity.

Now, the `ConfigSource` is responsible for beginning the session and we
only do so for services in the catalog.

Fixes: https://github.com/hashicorp/consul/issues/15753
2023-01-18 12:33:21 -06:00
..
limiter xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
services xds: don't attempt to load-balance sessions for local proxies (#15789) 2023-01-18 12:33:21 -06:00
testutils Output user-friendly name for anonymous token (#15884) 2023-01-09 12:28:53 -06:00
forward.go grpc: rename public/private directories to external/internal (#13721) 2022-07-13 16:33:48 +01:00
metadata_test.go Warn if ACL is enabled but no token is provided to Envoy (#15967) 2023-01-16 12:31:56 -05:00
options.go Support Stale Queries for Trust Bundle Lookups (#14724) 2022-09-28 09:56:59 -07:00
server.go grpc: `protoc` plugin for generating gRPC rate limit specifications (#15564) 2023-01-04 16:07:02 +00:00
stats_test.go Rate Limit Handler - ensure rate limiting is not in the code path when not configured (#15819) 2022-12-20 15:00:22 -07:00
utils.go Output user-friendly name for anonymous token (#15884) 2023-01-09 12:28:53 -06:00