Skip to content

Commit 62a6d38

Browse files
committed
Merge branch '3.1.x'
Closes gh-38600
2 parents 6fd691a + ae0ae82 commit 62a6d38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/client/ClientHttpRequestFactories.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ private static HttpClient createHttpClient(Duration readTimeout, SslBundle sslBu
212212
options.getEnabledProtocols(), options.getCiphers(), new DefaultHostnameVerifier());
213213
connectionManagerBuilder.setSSLSocketFactory(socketFactory);
214214
}
215-
PoolingHttpClientConnectionManager connectionManager = connectionManagerBuilder.build();
215+
PoolingHttpClientConnectionManager connectionManager = connectionManagerBuilder.useSystemProperties()
216+
.build();
216217
return HttpClientBuilder.create().useSystemProperties().setConnectionManager(connectionManager).build();
217218
}
218219

0 commit comments

Comments
 (0)