diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java index 801e33c71d..ec18fee859 100644 --- a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java +++ b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/embedded/netty/NettyReactiveWebServerFactory.java @@ -97,7 +97,6 @@ public class NettyReactiveWebServerFactory extends AbstractReactiveWebServerFact if (getCompression() != null && getCompression().getEnabled()) { options.compression(getCompression().getMinResponseSize()); } - options.preferNative(false); applyCustomizers(options); }).build(); }