MultithreadedHttpClient doesn't support nonProxyHosts

Description

Commonly java allows you to set a nonProxyHosts environment variable for hosts that should no be connected to through the HttpProxy. MultithreadedHttpClient doesn't make use of this variable making it hard to use the GeoServer WMS cascading datastore within a proxied enviroment when some of the machines to be proxied are outside the domain and some are within.

There seems to be some relevant code at https://www.knopflerfish.org/svn/knopflerfish.org/trunk/osgi/bundles_opt/httpclient_connector/src/org/knopflerfish/bundle/httpclient_connector/ProxySelector.java - https://www.knopflerfish.org/svn/knopflerfish.org/trunk/osgi/bundles_opt/httpclient_connector/src/org/knopflerfish/bundle/httpclient_connector/ProxySelector.java

Environment

None

Activity

Show:
Andreas W
May 19, 2015, 7:11 PM
Edited

Hi,
I have created pull request #847 which solves this issue.

As I mentioned in the PR:

I think in the long run an update of the HTTP-Client from v3 to v4 will be the better solution, as it supports the JRE proxy settings out-of-the-box.
For now the submitted solution just works.

Best regards,
Andreas

Andrea Aime
February 15, 2017, 11:35 AM

Mass transitioning all resolved issues that have not been updated in the last month to closed state

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Fix versions

Priority

Medium
Configure