hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Gamache (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1617) HttpClientBuilder does not utilize http.nonProxyHosts
Date Thu, 19 Feb 2015 14:52:12 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327593#comment-14327593

Joe Gamache commented on HTTPCLIENT-1617:

Sorry, I seem to be slightly clueless here.  I don't think I want anything different that
standard Proxy 101 support.  What I picture in my head is any of the options dialogs supporting
configuration of a Proxy Server for a Browser...  Define, 'yes, I use a Proxy Server, this
is it's definition: name etc.  By the way, don't proxy this list of machines....'

So, if you are asking do I do:
            HttpHost proxy = new HttpHost(settings.getHost(), settings.getPort(), settings.getScheme());


Then yes, that is what I do, but only because isn't that what I am supposed to do when I actually
have a Proxy Server?  Or it seems like you are suggesting that I leave that null, call the
useSystemProperties method and the httpClientBuilder will take care of everything for me???
  Ok, totally clueless here!

> HttpClientBuilder does not utilize http.nonProxyHosts
> -----------------------------------------------------
>                 Key: HTTPCLIENT-1617
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1617
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.3.6
>            Reporter: Joe Gamache
> The header documentation for HttpClientBuilder.java (in pkg: org.apache.http.impl.client)
states that when the 'useSystemProperties()' method is invoked that system settings for http.nonProxyHosts
will be honored.  However, the code never references that Property, nor does it seem that
any invoked code references that property.  In testing, when that property has been set, http
calls still go through the Proxy.   
> Please fix so that when the property is set, http calls to one of the listed hosts does
not pass through the Proxy Server.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message