diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java index f284ea25a26b..da9c51eeb52c 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/embedded/UndertowWebServerFactoryCustomizerTests.java @@ -101,6 +101,7 @@ public void customMaxHttpHeaderSizeIgnoredIfNegative() { assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull(); } + @Test public void customMaxHttpHeaderSizeIgnoredIfZero() { bind("server.max-http-header-size=0"); assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();