linkerd2/proxy/tests/support
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
..
client.rs Adopt external tower-grpc and tower-h2 deps #225) 2018-02-01 11:57:02 -08:00
controller.rs Move the Rust gRPC bindings to a dedicated crate (#275) 2018-02-06 10:31:48 -08:00
mod.rs Store proxy latencies in a structure that matches controller histogram (#11) 2018-02-07 18:02:59 -08:00
proxy.rs proxy: use original dst if authority doesnt look like local service (#397) 2018-02-20 18:09:21 -08:00
server.rs Store proxy latencies in a structure that matches controller histogram (#11) 2018-02-07 18:02:59 -08:00
tcp.rs proxy: add transparent protocol detection and handling 2018-01-23 16:14:07 -08:00