[
http://jira.codehaus.org/browse/WAGON-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas BELOT closed WAGON-235.
------------------------------
Resolution: Won't Fix
doesn't fit min req.
> LightweightHttpWagon is not using bulletproof URL.openConnexion(Proxy)
> ----------------------------------------------------------------------
>
> Key: WAGON-235
> URL: http://jira.codehaus.org/browse/WAGON-235
> Project: Maven Wagon
> Issue Type: Improvement
> Components: wagon-http-lightweight
> Environment: *
> Reporter: Thomas BELOT
>
> LightweightHttpWagon is messing (even in current trunk r68207) with
> System.setProperty( "http.proxyHost", proxyInfo.getHost() ); in it's
> openConnectionInternal method.
> It's clearly not thread safe and a preferred method would be to use
> URL.openConnexion(Proxy).
> From my point of view, before any call to URL.openConnexion, one should call
> java.net.ProxySelector#select(URI) and use one (if not every) java.net.Proxy
> given in the list.
> java.net.Proxy handles care for proxy host and port while
> java.net.ProxySelector is dealing with nonProxyHost and http/https proxy
> differenciation
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira