diff --git a/module/spring-boot-http-client/src/main/java/org/springframework/boot/http/client/HttpComponentsHttpClientBuilder.java b/module/spring-boot-http-client/src/main/java/org/springframework/boot/http/client/HttpComponentsHttpClientBuilder.java index c77524022c0..5e3f8b5c228 100644 --- a/module/spring-boot-http-client/src/main/java/org/springframework/boot/http/client/HttpComponentsHttpClientBuilder.java +++ b/module/spring-boot-http-client/src/main/java/org/springframework/boot/http/client/HttpComponentsHttpClientBuilder.java @@ -131,7 +131,7 @@ public final class HttpComponentsHttpClientBuilder { Consumer connectionConfigCustomizer) { Assert.notNull(connectionConfigCustomizer, "'connectionConfigCustomizer' must not be null"); return new HttpComponentsHttpClientBuilder(this.customizer, this.connectionManagerCustomizer, - this.socketConfigCustomizer.andThen(this.socketConfigCustomizer), this.connectionConfigCustomizer, + this.socketConfigCustomizer, this.connectionConfigCustomizer.andThen(connectionConfigCustomizer), this.defaultRequestConfigCustomizer, this.tlsSocketStrategyFactory); }