Fallback on transparent interception mode even if the connection didn't seem to be transparently intercepted
Needed to deal properly with situations where connections to the local host
is intercepted, or when people NAT outside the Squid server but still compile
Squid with support for the NAT/interception method availabe on the host OS..
/* prepend our name & port */
http->uri = xstrdup(internalLocalUri(NULL, url));
http->flags.accel = 1;
+ } else if (conn->port->transparent) {
+ // Fallback on transparent if enabled, useful for "self" requests
+ prepareTransparentURL(conn, http, url, req_hdr);
}
if (!http->uri) {