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 D5625105BC for ; Thu, 17 Oct 2013 16:47:44 +0000 (UTC) Received: (qmail 56072 invoked by uid 500); 17 Oct 2013 16:47:42 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 56040 invoked by uid 500); 17 Oct 2013 16:47:42 -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 56028 invoked by uid 99); 17 Oct 2013 16:47:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Oct 2013 16:47:42 +0000 Date: Thu, 17 Oct 2013 16:47:42 +0000 (UTC) From: "Robert Stupp (JIRA)" To: dev@hc.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (HTTPCORE-356) Please add support for automatic proxy selection for httpcore-nio 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/HTTPCORE-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Stupp closed HTTPCORE-356. --------------------------------- Resolution: Invalid solution is : httpcomponents-asyncclient > Please add support for automatic proxy selection for httpcore-nio > ------------------------------------------------------------------ > > Key: HTTPCORE-356 > URL: https://issues.apache.org/jira/browse/HTTPCORE-356 > Project: HttpComponents HttpCore > Issue Type: Improvement > Components: HttpCore NIO > Affects Versions: 4.3 > Reporter: Robert Stupp > > I tried to add support for httpcore-nio to our internal libraries, that still use synchronous IO. > We have a central place in our libraries, that provides a "singleton" http support with proxy configuration per target host. > This works fins in httpcore 4.2 using java.net.ProxySelector and org.apache.http.impl.conn.ProxySelectorRoutePlanner. > I digged into the httpcore-nio code and could not find any place where a such decisions are made. The HttpHost provided as "route" parameter is passed 1:1 to NIO connection pool, which is wrong for proxied hosts :( > I assume that a "proxy capable" implementation of HttpAsyncRequestProducer is needed. -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org