Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 27150 invoked from network); 28 Apr 2007 13:59:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Apr 2007 13:59:36 -0000 Received: (qmail 3321 invoked by uid 500); 28 Apr 2007 13:59:42 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 3291 invoked by uid 500); 28 Apr 2007 13:59:42 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 3281 invoked by uid 99); 28 Apr 2007 13:59:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2007 06:59:42 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2007 06:59:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B413714045 for ; Sat, 28 Apr 2007 06:59:15 -0700 (PDT) Message-ID: <29478811.1177768755568.JavaMail.jira@brutus> Date: Sat, 28 Apr 2007 06:59:15 -0700 (PDT) From: "Murty Akundi (JIRA)" To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Commented: (HTTPCLIENT-649) Support multiple proxies In-Reply-To: <12643226.1177423335481.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492481 ] Murty Akundi commented on HTTPCLIENT-649: ----------------------------------------- Ronald Thanks for reply. I think this use case is real use case. Most of the comanies and people are using java on middle tier that locates behind firewalls. We can plugging through more than one proxies but that is really not secured. Other solution is to write custom protocol handler to support multiple proxiesc but HttpClient does not support it since it does not use URLStreamHandler internally. I think there is no other solution with HttpClient to support multiple proxies at this time. I have customized HttpClient and HttpMethodDirector classes to tunnel through configured number of proxies and working fine. Please consider it for next major release. regards Murty > Support multiple proxies > ------------------------ > > Key: HTTPCLIENT-649 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-649 > Project: HttpComponents HttpClient > Issue Type: New Feature > Components: HttpConn > Affects Versions: 3.0.1, 3.1 RC1 > Environment: win/linux/unix > Reporter: Murty Akundi > Fix For: 4.0 Alpha 1 > > > HttpClient supports one proxy currently. > Our requirement is to suppport more than one proxy. We may need to connect more than one proxies before connects to target resource. > I found that HttpMethodDirector creates tunnelled socket and there is no easy way to plugin our custom HttpMethodDirector class with HttpClient other than extending HttpClient to override "public int executeMethod(HostConfiguration hostconfig, final HttpMethod method, final HttpState state" method. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org