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 A66F410590 for ; Sat, 25 Jan 2014 19:17:47 +0000 (UTC) Received: (qmail 47986 invoked by uid 500); 25 Jan 2014 19:17:46 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 47800 invoked by uid 500); 25 Jan 2014 19:17:44 -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 47709 invoked by uid 99); 25 Jan 2014 19:17:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 25 Jan 2014 19:17:43 +0000 Date: Sat, 25 Jan 2014 19:17:43 +0000 (UTC) From: "Sivasubramaniam S (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HTTPCLIENT-1176) Support proxy failover per ProxySelector API 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-1176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sivasubramaniam S updated HTTPCLIENT-1176: ------------------------------------------ Attachment: ProxyFailoverTest.patch ProxyFailoverFix.patch Initial patch for the fix. > Support proxy failover per ProxySelector API > -------------------------------------------- > > Key: HTTPCLIENT-1176 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1176 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpConn > Affects Versions: 4.2 Beta1 > Environment: All supported platforms/environments which use proxy failover > Reporter: Jan-Willem Maarse > Priority: Minor > Fix For: 4.4 Final > > Attachments: ProxyFailoverFix.patch, ProxyFailoverTest.patch > > > The ProxySelectorRoutePlanner selects a single proxy from the list returned by the java.net.ProxySelector API. If the client can't open a socket to the proxy, other proxies in the list are ignored and the request fails. It would be good if the Apache HttpClient could try other proxies in the list before failing on socket errors. HttpURLConnection provides similar behavior. This functionality is useful in network configurations where proxies can go up and down for maintenance, for example. -- This message was sent by Atlassian JIRA (v6.1.5#6160) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org