hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Murty Akundi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HTTPCLIENT-649) Support multiple proxies
Date Sat, 28 Apr 2007 13:59:15 GMT

    [ 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:

    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.

> 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

View raw message