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 0f58eea837..b53613e3bd 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 @@ -100,6 +100,7 @@ public class UndertowWebServerFactoryCustomizerTests { 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();