|
|
@ -100,6 +100,7 @@ public class UndertowWebServerFactoryCustomizerTests {
|
|
|
|
assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();
|
|
|
|
assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
public void customMaxHttpHeaderSizeIgnoredIfZero() {
|
|
|
|
public void customMaxHttpHeaderSizeIgnoredIfZero() {
|
|
|
|
bind("server.max-http-header-size=0");
|
|
|
|
bind("server.max-http-header-size=0");
|
|
|
|
assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();
|
|
|
|
assertThat(boundServerOption(UndertowOptions.MAX_HEADER_SIZE)).isNull();
|
|
|
|