fixed bug in proxy chain handling
git-svn-id: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpclient/trunk@555215 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fc9772e6b1
commit
1c51824585
|
@ -184,7 +184,7 @@ public final class RouteTracker implements Cloneable {
|
|||
HttpHost[] proxies = new HttpHost[this.proxyChain.length+1];
|
||||
System.arraycopy(this.proxyChain, 0,
|
||||
proxies, 0, this.proxyChain.length);
|
||||
proxies[proxies.length+1] = proxy;
|
||||
proxies[proxies.length-1] = proxy;
|
||||
|
||||
this.proxyChain = proxies;
|
||||
this.secure = secure;
|
||||
|
|
Loading…
Reference in New Issue