Changed route tracking of proxy to not default to false and instead to
use the routes secure value and not Tunneling. This allow secure routes to proxies and not tunnel/CONNECT.
This commit is contained in:
parent
ba1f444484
commit
c8a224184e
|
@ -404,7 +404,7 @@ public class MainClientExec implements ClientExecChain {
|
|||
timeout > 0 ? timeout : 0,
|
||||
context);
|
||||
final HttpHost proxy = route.getProxyHost();
|
||||
tracker.connectProxy(proxy, false);
|
||||
tracker.connectProxy(proxy, route.isSecure() && !route.isTunnelled());
|
||||
break;
|
||||
case HttpRouteDirector.TUNNEL_TARGET: {
|
||||
final boolean secure = createTunnelToTarget(
|
||||
|
|
Loading…
Reference in New Issue