Testsuite: org.apache.tomcat.util.http.TestMimeHeadersIntegration Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.131 sec ------------- Standard Error ----------------- 04-Oct-2023 16:13:50.503 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits1] 04-Oct-2023 16:13:50.991 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 04-Oct-2023 16:13:50.993 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 04-Oct-2023 16:13:50.993 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 04-Oct-2023 16:13:50.997 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 04-Oct-2023 16:13:51.850 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"] 04-Oct-2023 16:13:51.934 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 16:13:51.939 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 16:13:52.266 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-43975"] 04-Oct-2023 16:13:52.409 INFO [http-apr-127.0.0.1-auto-1-exec-1] 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.parseHeaders(Http11InputBuffer.java:617) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:514) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934) at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2065) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) 04-Oct-2023 16:13:52.547 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-43975"] 04-Oct-2023 16:13:52.552 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 16:13:52.571 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-43975"] 04-Oct-2023 16:13:52.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-43975"] 04-Oct-2023 16:13:52.602 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits2] 04-Oct-2023 16:13:52.612 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 04-Oct-2023 16:13:52.612 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 04-Oct-2023 16:13:52.612 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 04-Oct-2023 16:13:52.613 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 04-Oct-2023 16:13:52.625 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"] 04-Oct-2023 16:13:52.629 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 16:13:52.629 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 16:13:52.656 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-43951"] 04-Oct-2023 16:13:52.817 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-43951"] 04-Oct-2023 16:13:52.819 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 16:13:52.826 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-43951"] 04-Oct-2023 16:13:52.831 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-43951"] 04-Oct-2023 16:13:52.838 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits3] 04-Oct-2023 16:13:52.841 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 04-Oct-2023 16:13:52.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 04-Oct-2023 16:13:52.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 04-Oct-2023 16:13:52.842 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 04-Oct-2023 16:13:52.843 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"] 04-Oct-2023 16:13:52.844 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 16:13:52.844 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 16:13:52.906 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-42243"] 04-Oct-2023 16:13:53.029 INFO [http-apr-127.0.0.1-auto-3-exec-1] 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:262) at org.apache.tomcat.util.http.MimeHeaders.addValue(MimeHeaders.java:307) at org.apache.coyote.http11.Http11InputBuffer.parseHeader(Http11InputBuffer.java:892) at org.apache.coyote.http11.Http11InputBuffer.parseHeaders(Http11InputBuffer.java:606) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:514) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:934) at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2065) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:829) 04-Oct-2023 16:13:53.040 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-42243"] 04-Oct-2023 16:13:53.042 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 16:13:53.052 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-42243"] 04-Oct-2023 16:13:53.069 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-42243"] 04-Oct-2023 16:13:53.075 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testHeaderLimits4] 04-Oct-2023 16:13:53.076 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.38] using APR version [1.6.5]. 04-Oct-2023 16:13:53.076 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}]. 04-Oct-2023 16:13:53.076 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 04-Oct-2023 16:13:53.077 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1f 31 Mar 2020] 04-Oct-2023 16:13:53.078 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-4"] 04-Oct-2023 16:13:53.078 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Oct-2023 16:13:53.078 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.94-dev] 04-Oct-2023 16:13:53.144 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-4-38421"] 04-Oct-2023 16:13:53.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-4-38421"] 04-Oct-2023 16:13:53.186 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Oct-2023 16:13:53.191 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-4-38421"] 04-Oct-2023 16:13:53.199 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-4-38421"] ------------- ---------------- --------------- Testcase: testHeaderLimits1 took 2.452 sec Testcase: testHeaderLimits2 took 0.235 sec Testcase: testHeaderLimits3 took 0.236 sec Testcase: testHeaderLimits4 took 0.129 sec