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:20:00 UTC

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

Hartmut Arlt created HTTPCLIENT-1649:
----------------------------------------

             Summary: 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


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