linkerd2/proxy/tests
Sean McArthur 236f71fbe0
proxy: use original dst if authority doesnt look like local service (#397)
The proxy will check that the requested authority looks like a local service, and if it doesn't, it will no longer ask the Destination service about the request, instead just using the SO_ORIGINAL_DST, enabling egress naturally.

The rules used to determine if it looks like a local service come from this comment:

> If default_zone.is_none() and the name is in the form $a.$b.svc, or if !default_zone.is_none() and the name is in the form $a.$b.svc.$default_zone, for some a and some b, then use the Destination service. Otherwise, use the IP given.
2018-02-20 18:09:21 -08:00
..
support proxy: use original dst if authority doesnt look like local service (#397) 2018-02-20 18:09:21 -08:00
discovery.rs proxy: use original dst if authority doesnt look like local service (#397) 2018-02-20 18:09:21 -08:00
telemetry.rs proxy: use original dst if authority doesnt look like local service (#397) 2018-02-20 18:09:21 -08:00
transparency.rs proxy: use original dst if authority doesnt look like local service (#397) 2018-02-20 18:09:21 -08:00