From 9e876e7ff004608bc74a9b723195119123ee6625 Mon Sep 17 00:00:00 2001 From: Arturo Bernal Date: Tue, 11 Jan 2022 19:00:18 +0100 Subject: [PATCH] Remove no need it ConnectionConfig. --- .../client5/http/impl/io/BasicHttpClientConnectionManager.java | 1 - 1 file changed, 1 deletion(-) diff --git a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/BasicHttpClientConnectionManager.java b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/BasicHttpClientConnectionManager.java index 43fc1e875..feb588b33 100644 --- a/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/BasicHttpClientConnectionManager.java +++ b/httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/BasicHttpClientConnectionManager.java @@ -420,7 +420,6 @@ public class BasicHttpClientConnectionManager implements HttpClientConnectionMan Args.notNull(endpoint, "Endpoint"); Args.notNull(route, "HTTP route"); final InternalConnectionEndpoint internalEndpoint = cast(endpoint); - final ConnectionConfig config = connectionConfig != null ? connectionConfig : ConnectionConfig.DEFAULT; this.connectionOperator.upgrade( internalEndpoint.getConnection(), internalEndpoint.getRoute().getTargetHost(),