hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hartmut Arlt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1649) Caching of proxy auth schemes is broken
Date Fri, 22 May 2015 14:30:17 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14556212#comment-14556212

Hartmut Arlt commented on HTTPCLIENT-1649:

Wow! That was fast.

Works fine. Thanks Oleg.

> Caching of proxy auth schemes is broken
> ---------------------------------------
>                 Key: HTTPCLIENT-1649
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1649
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpAuth, HttpClient
>    Affects Versions: 4.4.1
>         Environment: HttpClient v4.3.3 and v4.4.1, Linux Mint 17 (x86_64), Java 7 (Oracle,
>            Reporter: Hartmut Arlt
>             Fix For: 4.5
>         Attachments: AuthCacheTest.java
> The implementation of the authentication cache has changed in HttpClient v4.4.1 by using
object serialization and de-serialization to store and retrieve the authentication schemes
for a given host instead of using object references as was done in v4.3.3.
> When using basic authentication for a proxy this mechanism does not work reliably, causing
subsequent requests to use the wrong authentication header (_Authorization_ vs _Proxy-Authorization_).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message