JaroslavTulach opened a new pull request #2210:
URL: https://github.com/apache/netbeans/pull/2210


   Turns out that multiple invocations of `configureproxy` may actually 
mis-configure proxy!
   
   * Invoke `configureproxy` ones - direct connection fails and a value is 
taken from the system and set to `httpProxy.host` property
   * Invoke `configureproxy` second time - `url.openConnection()` succeeds 
(because of previously set `httpProxy.host` property) which is mistakenly 
treated as a sign of direct connection being possible
   
   This PR fixes that by using `url.openConnection(Proxy.NONE)`.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to