Testsuite: org.apache.tomcat.util.http.TestMimeHeadersIntegration Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.41 sec ------------- Standard Error ----------------- 03-Apr-2024 15:28:21.583 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits1] 03-Apr-2024 15:28:22.754 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 03-Apr-2024 15:28:22.889 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Apr-2024 15:28:22.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 03-Apr-2024 15:28:23.039 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37855"] 03-Apr-2024 15:28:23.161 INFO [http-nio2-127.0.0.1-auto-1-exec-2] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level. java.lang.IllegalArgumentException: Request header is too large at org.apache.coyote.http11.Http11InputBuffer.fill(Http11InputBuffer.java:766) at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:880) at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:587) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:285) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1411) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 03-Apr-2024 15:28:23.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37855"] 03-Apr-2024 15:28:23.238 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Apr-2024 15:28:23.271 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37855"] 03-Apr-2024 15:28:23.284 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37855"] 03-Apr-2024 15:28:23.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits2] 03-Apr-2024 15:28:23.305 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 03-Apr-2024 15:28:23.367 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Apr-2024 15:28:23.367 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 03-Apr-2024 15:28:23.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45249"] 03-Apr-2024 15:28:23.399 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45249"] 03-Apr-2024 15:28:23.399 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Apr-2024 15:28:23.403 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45249"] 03-Apr-2024 15:28:23.404 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-45249"] 03-Apr-2024 15:28:23.406 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits3] 03-Apr-2024 15:28:23.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 03-Apr-2024 15:28:23.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Apr-2024 15:28:23.443 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 03-Apr-2024 15:28:23.453 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40391"] 03-Apr-2024 15:28:23.458 INFO [http-nio2-127.0.0.1-auto-3-exec-3] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header Note: further occurrences of HTTP request parsing errors will be logged at DEBUG level. java.lang.IllegalStateException: More than the maximum allowed number of headers, [100], were detected. at org.apache.tomcat.util.http.MimeHeaders.createHeader(MimeHeaders.java:232) at org.apache.tomcat.util.http.MimeHeaders.addValue(MimeHeaders.java:277) at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:894) at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:587) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:285) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1411) at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:326) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:473) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:409) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 03-Apr-2024 15:28:23.471 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40391"] 03-Apr-2024 15:28:23.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Apr-2024 15:28:23.479 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40391"] 03-Apr-2024 15:28:23.481 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-40391"] 03-Apr-2024 15:28:23.502 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits4] 03-Apr-2024 15:28:23.504 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 03-Apr-2024 15:28:23.534 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 03-Apr-2024 15:28:23.536 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.0-M19-dev] 03-Apr-2024 15:28:23.560 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39085"] 03-Apr-2024 15:28:23.565 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39085"] 03-Apr-2024 15:28:23.566 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 03-Apr-2024 15:28:23.568 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39085"] 03-Apr-2024 15:28:23.569 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-39085"] ------------- ---------------- --------------- Testcase: testHeaderLimits1 took 2 sec Testcase: testHeaderLimits2 took 0.114 sec Testcase: testHeaderLimits3 took 0.096 sec Testcase: testHeaderLimits4 took 0.074 sec