diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/ClientHttpRequestFactories.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/ClientHttpRequestFactories.java index 232d87b846..9ce340b689 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/ClientHttpRequestFactories.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/ClientHttpRequestFactories.java @@ -153,7 +153,7 @@ public final class ClientHttpRequestFactories { PoolingHttpClientConnectionManager connectionManager = PoolingHttpClientConnectionManagerBuilder.create() .setDefaultSocketConfig(socketConfig) .build(); - return HttpClientBuilder.create().setConnectionManager(connectionManager).build(); + return HttpClientBuilder.create().useSystemProperties().setConnectionManager(connectionManager).build(); } }