open-consul/agent/proxycfg
Daniel Nephin 18c9e73832 connect: do not set QuerySource.Node
Setting this field to a value is equivalent to using the 'near' query paramter.
The intent is to sort the results by proximity to the node requesting
them. However with connect we send the results to envoy, which doesn't
care about the order, so setting this field is increasing the work
performed for no gain.

It is necessary to unset this field now because we would like connect
to use streaming, but streaming does not support sorting by proximity.
2021-04-27 19:03:16 -04:00
..
manager.go proxycfg: use rpcclient/health.Client instead of passing around cache name 2021-03-12 11:46:04 -05:00
manager_test.go connect: do not set QuerySource.Node 2021-04-27 19:03:16 -04:00
proxycfg.go Proxy Config Manager (#4729) 2018-10-10 16:55:34 +01:00
snapshot.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
state.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
state_test.go Split Upstream.Identifier() so non-empty namespace is always prepended in ent (#10031) 2021-04-15 13:54:40 -06:00
testing.go Update proxycfg for transparent proxy 2021-03-17 13:40:39 -06:00