Re: proxy_auth & accelerator mode

From: Ellis Ragan <eragan@dont-contact.us>
Date: Tue, 13 Oct 1998 10:44:07 -0600

>> >How:
>> >src/client_side.c
>> > change HDR_PROXY_AUTHENTICATE to HDR_WWW_AUTHENTICATE
>> >src/acl.c
>> > change HDR_PROXY_AUTHORIZATION to HDR_AUTHORIZATION
>>
>> Unfortunately this does not work for me with Squid-2.0. Is there some
>> other missing piece?
>
>Yes. I forgot one small but important one
>
>src/client_side.c:
> change HDR_PROXY_AUTHORIZATION to HDR_AUTHORIZATION
>

Sorry this is dragging out, but I can't find HDR_PROXY_AUTHORIZATION in
client_side.c for either 1.2beta24 or 2.0 Is the above a typo?

When I "grep HDR_PROXY_AUTH *.c" I get

HttpHeader.c: {"Proxy-Authenticate", HDR_PROXY_AUTHENTICATE, ftStr},
HttpHeader.c: {"Proxy-Authorization", HDR_PROXY_AUTHORIZATION, ftStr},
HttpHeader.c: HDR_PROXY_AUTHORIZATION, HDR_RANGE, HDR_REFERER,
HDR_REQUEST_RANGE,
acl.c: s = httpHeaderGetStr(&checklist->request->header,
HDR_PROXY_AUTHORIZATION);
client_side.c: httpHeaderPutStrf(&rep->header, HDR_PROXY_AUTHENTICATE,
proxy_auth_challenge_fmt, Config.proxyAuthRealm);
http.c: case HDR_PROXY_AUTHORIZATION:

There is already a section for HDR_AUTHORIZATION in HttpHeader.c , and I
have tried adding a HDR_AUTHORIZATION case to http.c in addition to the
first two changes above without success.

Ellis
Received on Tue Oct 13 1998 - 10:35:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:42:28 MST