Remove no need it ConnectionConfig.
This commit is contained in:
parent
d2a9977290
commit
9e876e7ff0
|
@ -420,7 +420,6 @@ public class BasicHttpClientConnectionManager implements HttpClientConnectionMan
|
||||||
Args.notNull(endpoint, "Endpoint");
|
Args.notNull(endpoint, "Endpoint");
|
||||||
Args.notNull(route, "HTTP route");
|
Args.notNull(route, "HTTP route");
|
||||||
final InternalConnectionEndpoint internalEndpoint = cast(endpoint);
|
final InternalConnectionEndpoint internalEndpoint = cast(endpoint);
|
||||||
final ConnectionConfig config = connectionConfig != null ? connectionConfig : ConnectionConfig.DEFAULT;
|
|
||||||
this.connectionOperator.upgrade(
|
this.connectionOperator.upgrade(
|
||||||
internalEndpoint.getConnection(),
|
internalEndpoint.getConnection(),
|
||||||
internalEndpoint.getRoute().getTargetHost(),
|
internalEndpoint.getRoute().getTargetHost(),
|
||||||
|
|
Loading…
Reference in New Issue