[
https://issues.apache.org/jira/browse/HTTPCLIENT-649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491385
]
Murty Akundi commented on HTTPCLIENT-649:
-----------------------------------------
Oleg
Thank you for response.
I am using HttpClient code to access http(s) resources. For example
http(s)://www.verisign.com.
My code is deployed under an application server which is located below three
firewalls and that needs to connect through 3 proxies to reach the final target.
For example I have following 3 proxies and target
proxy1:9999
proxy2:7777
proxy3:5555
http(s)://www.verisign.com
First I need to open a socket and connect to proxy1:9999 and then connect
proxy2:7777 and then connect to proxy3:5555 to reach the target resource.
Currently HttpClient supports one proxy and i need to goes through more than
one proxies. So i had to modify HttpMethodDirector class to tunnel the socket
through the proxies.
regards
> Support multiple proxies
> ------------------------
>
> Key: HTTPCLIENT-649
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-649
> Project: HttpComponents HttpClient
> Issue Type: New Feature
> Components: HttpClient
> Affects Versions: 3.0.1, 3.1 RC1
> Environment: win/linux/unix
> Reporter: Murty Akundi
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]