I am now looking at http.c ( squid 2.6STABLE13) and I think I can add some 
code around here:

        } else {
            httpHeaderPutStrf(hdr_out, HDR_PROXY_AUTHORIZATION, "Basic %s",
                base64_encode(orig_request->peer_login));
        }

The only value I need at that point is the hostname of the cache_peer squid 
is connecting too, but I can't find which variable, structure contains the 
cache_peer name. Could someone point me to it ?

Thanks
Markus


"Henrik Nordstrom" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED] 



Reply via email to