You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Hartmut Arlt (JIRA)" <ji...@apache.org> on 2015/05/21 12:23:00 UTC

[jira] [Updated] (HTTPCLIENT-1649) Caching of proxy auth schemes is broken

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hartmut Arlt updated HTTPCLIENT-1649:
-------------------------------------
    Attachment: AuthCacheTest.java

Junit Test for testing caching of proxy auth schemes using implementations of HttpClient v4.3.3 and v4.4.1.

> 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, 1.7.0_51)
>            Reporter: Hartmut Arlt
>         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
(v6.3.4#6332)

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