Description
With hosts A and B running ATS where both hosts have private IPs (10.0.0.1 & 10.0.0.2) AND have a local loopback which have a public IP 27.1.1.1 we are getting HTTP/1.1 400 Multi-Hop Cycle Detected when host A forwards a request to host B.
ATS searches the incoming Via header for its own ip address (Machine::instance()->ip_hex_string) to determine if the request has been forwarded back to itself.
Cause: ATS is selecting the public IP address of the server to insert in the Via header (even if it's not on a routable interface).