Remove no need it ConnectionConfig.

This commit is contained in:
Arturo Bernal 2022-01-11 19:00:18 +01:00 committed by Oleg Kalnichevski
parent d2a9977290
commit 9e876e7ff0
1 changed files with 0 additions and 1 deletions

View File

@ -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(),