sonatype/nexus — comment on commit d769b51a31be3bcc7512c62d87b8395b0625b4e5
File: nexus/nexus-proxy/src/main/java/org/sonatype/nexus/proxy/storage/remote/httpclient/NonProxyHostsAwareHttpRoutePlanner.java line 76
By bentmann:

How well does messing with the client params work for mulit-threaded requests on the same HTTP client?

If the same client is used for multiple requests to different hosts with different proxy settings, changing the shared client settings in the middle of requests appears like a bad idea.

If the client instance is only used for comm with one host, then it might be easier to just set up the client properly with the desired proxy or none right from the start.