I have now a test version working (with hardcoded cache_peer hostname).  So 
basically seems to work as Basic auth without looking at the 407 return 
code.

Markus

"Markus Moeller" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>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