Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 22E5D1752D for ; Thu, 21 May 2015 10:23:05 +0000 (UTC) Received: (qmail 19414 invoked by uid 500); 21 May 2015 10:23:04 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 19334 invoked by uid 500); 21 May 2015 10:23:03 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 19315 invoked by uid 99); 21 May 2015 10:23:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 May 2015 10:23:00 +0000 Date: Thu, 21 May 2015 10:23:00 +0000 (UTC) From: "Hartmut Arlt (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HTTPCLIENT-1649) Caching of proxy auth schemes is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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