[ 
https://issues.apache.org/jira/browse/DROIDS-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12935475#action_12935475
 ] 

Javier Puerto commented on DROIDS-104:
--------------------------------------

I'm agree with your appointment. I can't see the sense of using the proxy 
implementation forced to 'null'.

Commited on revision r1038802

Thanks for contribute.

> DroidsHttpClient unable to use a proxy
> --------------------------------------
>
>                 Key: DROIDS-104
>                 URL: https://issues.apache.org/jira/browse/DROIDS-104
>             Project: Droids
>          Issue Type: Bug
>          Components: core
>            Reporter: Paul Rogalinski
>
> createHttpRoutePlanner() method in DroidsHttpClient does not provide any 
> ProxySelector:
>   @Override
>  protected HttpRoutePlanner createHttpRoutePlanner()
> {
>   return new 
> ProxySelectorRoutePlanner(getConnectionManager().getSchemeRegistry(), null);
> }
> proposed solution:
> @Override
> protected HttpRoutePlanner createHttpRoutePlanner()
> {
>   return new DefaultHttpRoutePlanner 
> (getConnectionManager().getSchemeRegistry());
> }
> once patched one can set set the proxy in a standard httpclient manner:
> doirdsHttpClient.getParams().setParameter(ConnRoutePNames.DEFAULT_PROXY,new 
> HttpHost("my.proxy.host",8080))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to