You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Conan <co...@gmail.com> on 2011/08/06 08:42:36 UTC

Re: Can ATS relay "Proxy-Authorization" header?

in HttpConfig.cc, why ATS doesn't read
"proxy.config.http.forward.proxy_auth_to_parent"

line 1221:
c.fwd_proxy_auth_to_parent = 0

line 1439:
params->fwd_proxy_auth_to_parent = 0;


2011/8/5 Conan <co...@gmail.com>

> hi,
>     In my case, I want to pass UA(or child proxy)'s "Proxy-Authorization"
> header to the origin server. But ATS consumed the PA header of incoming
> request. Can I configure ATS to relay this header?
>
> reference:
> http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
> 14.34 Proxy-Authorization:
> Proxy-Authorization header field is consumed by the first outbound proxy
> that was expecting to receive credentials. A proxy MAY relay the credentials
> from the client request to the next proxy if that is the mechanism by which
> the proxies cooperatively authenticate a given request.
>

Re: Can ATS relay "Proxy-Authorization" header?

Posted by Conan <co...@gmail.com>.
Yes, TS-906.

2011/8/7 Leif Hedstrom <le...@ogre.com>

> On 08/06/2011 12:42 AM, Conan wrote:
>
>> in HttpConfig.cc, why ATS doesn't read
>> "proxy.config.http.forward.**proxy_auth_to_parent"
>>
>> line 1221:
>> c.fwd_proxy_auth_to_parent = 0
>>
>> line 1439:
>> params->fwd_proxy_auth_to_**parent = 0;
>>
>
>
> Looks like a bug to me, can you file a Jira ticket please?
>
> -- Leif
>
>

Re: Can ATS relay "Proxy-Authorization" header?

Posted by Leif Hedstrom <le...@ogre.com>.
On 08/06/2011 12:42 AM, Conan wrote:
> in HttpConfig.cc, why ATS doesn't read
> "proxy.config.http.forward.proxy_auth_to_parent"
>
> line 1221:
> c.fwd_proxy_auth_to_parent = 0
>
> line 1439:
> params->fwd_proxy_auth_to_parent = 0;


Looks like a bug to me, can you file a Jira ticket please?

-- Leif