Testsuite: org.apache.coyote.http11.filters.TestChunkedInputFilter Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.461 sec ------------- Standard Error ----------------- 27-Jun-2024 09:31:55.128 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenSwallowException] 27-Jun-2024 09:31:56.042 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 27-Jun-2024 09:31:56.099 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:56.099 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:56.281 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35083"] 27-Jun-2024 09:31:56.407 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35083"] 27-Jun-2024 09:31:56.408 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:56.426 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35083"] 27-Jun-2024 09:31:56.432 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35083"] 27-Jun-2024 09:31:56.440 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeNineDigit] 27-Jun-2024 09:31:56.443 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 27-Jun-2024 09:31:56.443 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:56.444 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:56.449 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45257"] 27-Jun-2024 09:31:56.464 INFO [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 27-Jun-2024 09:31:56.465 SEVERE [http-nio-127.0.0.1-auto-2-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:643) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:31:56.468 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45257"] 27-Jun-2024 09:31:56.468 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:56.471 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45257"] 27-Jun-2024 09:31:56.477 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45257"] 27-Jun-2024 09:31:56.479 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndCRLF] 27-Jun-2024 09:31:56.482 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 27-Jun-2024 09:31:56.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:56.483 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:56.488 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-46091"] 27-Jun-2024 09:31:57.508 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-46091"] 27-Jun-2024 09:31:57.511 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:57.514 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-46091"] 27-Jun-2024 09:31:57.517 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-46091"] 27-Jun-2024 09:31:57.519 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneOver] 27-Jun-2024 09:31:57.525 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 27-Jun-2024 09:31:57.525 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:57.526 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:57.534 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-40779"] 27-Jun-2024 09:31:57.561 INFO [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxExtensionSize exceeded 27-Jun-2024 09:31:57.561 SEVERE [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:31:57.563 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-40779"] 27-Jun-2024 09:31:57.571 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:57.575 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-40779"] 27-Jun-2024 09:31:57.578 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-40779"] 27-Jun-2024 09:31:57.581 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeEightDigit] 27-Jun-2024 09:31:57.582 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 27-Jun-2024 09:31:57.583 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:57.583 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:57.586 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-45317"] 27-Jun-2024 09:31:57.613 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-45317"] 27-Jun-2024 09:31:57.616 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:57.619 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-45317"] 27-Jun-2024 09:31:57.620 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-45317"] 27-Jun-2024 09:31:57.622 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderLF] 27-Jun-2024 09:31:57.624 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 27-Jun-2024 09:31:57.625 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:57.625 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:57.630 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-44973"] 27-Jun-2024 09:31:57.637 INFO [http-nio-127.0.0.1-auto-6-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 27-Jun-2024 09:31:57.638 SEVERE [http-nio-127.0.0.1-auto-6-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:31:58.637 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-44973"] 27-Jun-2024 09:31:58.637 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:58.639 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-44973"] 27-Jun-2024 09:31:58.642 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-44973"] 27-Jun-2024 09:31:58.643 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneBelow] 27-Jun-2024 09:31:58.644 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 27-Jun-2024 09:31:58.645 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:58.645 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:58.648 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-37849"] 27-Jun-2024 09:31:58.654 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-37849"] 27-Jun-2024 09:31:58.655 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:58.656 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-37849"] 27-Jun-2024 09:31:58.659 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-37849"] 27-Jun-2024 09:31:58.660 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoTrailingHeaders] 27-Jun-2024 09:31:58.661 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 27-Jun-2024 09:31:58.661 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:58.661 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:58.665 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-46077"] 27-Jun-2024 09:31:58.669 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-46077"] 27-Jun-2024 09:31:58.669 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:58.671 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-46077"] 27-Jun-2024 09:31:58.673 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-46077"] 27-Jun-2024 09:31:58.674 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkCRLF] 27-Jun-2024 09:31:58.676 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 27-Jun-2024 09:31:58.676 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:58.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:58.680 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-39031"] 27-Jun-2024 09:31:59.684 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-39031"] 27-Jun-2024 09:31:59.684 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:31:59.687 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-39031"] 27-Jun-2024 09:31:59.692 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-39031"] 27-Jun-2024 09:31:59.694 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndLF] 27-Jun-2024 09:31:59.698 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 27-Jun-2024 09:31:59.698 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:31:59.699 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:31:59.710 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-46343"] 27-Jun-2024 09:32:00.720 INFO [http-nio-127.0.0.1-auto-10-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: java.lang.IllegalArgumentException: Invalid end of line sequence (No CR before LF) 27-Jun-2024 09:32:00.720 SEVERE [http-nio-127.0.0.1-auto-10-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:00.722 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-46343"] 27-Jun-2024 09:32:00.722 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:00.724 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-46343"] 27-Jun-2024 09:32:00.725 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-46343"] 27-Jun-2024 09:32:00.727 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAboveLimit] 27-Jun-2024 09:32:00.728 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 27-Jun-2024 09:32:00.728 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:00.728 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:00.731 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-35649"] 27-Jun-2024 09:32:00.735 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-35649"] 27-Jun-2024 09:32:00.735 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:00.737 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-35649"] 27-Jun-2024 09:32:00.738 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-35649"] 27-Jun-2024 09:32:00.740 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestIncompleteChunkedBody] 27-Jun-2024 09:32:00.741 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 27-Jun-2024 09:32:00.741 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:00.741 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:00.744 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-12-40597"] 27-Jun-2024 09:32:03.750 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-12-40597"] 27-Jun-2024 09:32:03.751 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:03.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-12-40597"] 27-Jun-2024 09:32:03.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12-40597"] 27-Jun-2024 09:32:03.758 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeIntegerMinValue] 27-Jun-2024 09:32:03.759 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 27-Jun-2024 09:32:03.760 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:03.760 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:03.763 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-45157"] 27-Jun-2024 09:32:03.805 INFO [http-nio-127.0.0.1-auto-13-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 27-Jun-2024 09:32:03.806 SEVERE [http-nio-127.0.0.1-auto-13-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:643) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:03.809 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-45157"] 27-Jun-2024 09:32:03.811 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:03.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-45157"] 27-Jun-2024 09:32:03.822 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-45157"] 27-Jun-2024 09:32:03.824 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeAbsent] 27-Jun-2024 09:32:03.826 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 27-Jun-2024 09:32:03.826 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:03.826 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:03.835 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-35403"] 27-Jun-2024 09:32:03.886 INFO [http-nio-127.0.0.1-auto-14-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 27-Jun-2024 09:32:03.886 SEVERE [http-nio-127.0.0.1-auto-14-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:643) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:03.889 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-35403"] 27-Jun-2024 09:32:03.890 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:03.892 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-35403"] 27-Jun-2024 09:32:03.916 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-35403"] 27-Jun-2024 09:32:03.918 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitBelowLimit] 27-Jun-2024 09:32:03.920 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 27-Jun-2024 09:32:03.920 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:03.920 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:03.927 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-46245"] 27-Jun-2024 09:32:04.033 INFO [http-nio-127.0.0.1-auto-15-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 27-Jun-2024 09:32:04.033 SEVERE [http-nio-127.0.0.1-auto-15-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:04.036 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-46245"] 27-Jun-2024 09:32:04.045 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:04.047 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-46245"] 27-Jun-2024 09:32:04.052 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-46245"] 27-Jun-2024 09:32:04.054 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenThrowException] 27-Jun-2024 09:32:04.057 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-16"] 27-Jun-2024 09:32:04.058 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:04.058 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:04.065 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-16-33469"] 27-Jun-2024 09:32:04.085 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-16-33469"] 27-Jun-2024 09:32:04.090 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:04.092 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-16-33469"] 27-Jun-2024 09:32:04.095 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-16-33469"] 27-Jun-2024 09:32:04.096 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersLF] 27-Jun-2024 09:32:04.098 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-17"] 27-Jun-2024 09:32:04.098 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:04.098 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:04.101 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-17-38155"] 27-Jun-2024 09:32:05.114 INFO [http-nio-127.0.0.1-auto-17-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: java.lang.IllegalArgumentException: Invalid end of line sequence (No CR before LF) 27-Jun-2024 09:32:05.115 SEVERE [http-nio-127.0.0.1-auto-17-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:05.116 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-17-38155"] 27-Jun-2024 09:32:05.117 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:05.118 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-17-38155"] 27-Jun-2024 09:32:05.120 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-17-38155"] 27-Jun-2024 09:32:05.121 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderCRLF] 27-Jun-2024 09:32:05.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-18"] 27-Jun-2024 09:32:05.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:05.128 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:05.131 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-18-37991"] 27-Jun-2024 09:32:06.143 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-18-37991"] 27-Jun-2024 09:32:06.143 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:06.145 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-18-37991"] 27-Jun-2024 09:32:06.147 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-18-37991"] 27-Jun-2024 09:32:06.148 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAtLimit] 27-Jun-2024 09:32:06.149 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-19"] 27-Jun-2024 09:32:06.149 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:06.149 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:06.151 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-19-39415"] 27-Jun-2024 09:32:06.155 INFO [http-nio-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 27-Jun-2024 09:32:06.155 SEVERE [http-nio-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:06.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-19-39415"] 27-Jun-2024 09:32:06.157 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:06.158 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-19-39415"] 27-Jun-2024 09:32:06.162 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-19-39415"] 27-Jun-2024 09:32:06.164 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeLong] 27-Jun-2024 09:32:06.165 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-20"] 27-Jun-2024 09:32:06.166 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:06.166 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:06.169 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-20-42771"] 27-Jun-2024 09:32:06.179 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-20-42771"] 27-Jun-2024 09:32:06.180 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:06.181 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-20-42771"] 27-Jun-2024 09:32:06.183 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-20-42771"] 27-Jun-2024 09:32:06.184 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeZero] 27-Jun-2024 09:32:06.186 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-21"] 27-Jun-2024 09:32:06.186 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:06.186 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:06.189 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-21-45835"] 27-Jun-2024 09:32:06.200 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-21-45835"] 27-Jun-2024 09:32:06.200 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:06.202 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-21-45835"] 27-Jun-2024 09:32:06.204 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-21-45835"] 27-Jun-2024 09:32:06.206 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitPipelining] 27-Jun-2024 09:32:06.207 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-22"] 27-Jun-2024 09:32:06.208 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:06.208 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:06.211 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-22-40863"] 27-Jun-2024 09:32:06.220 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-22-40863"] 27-Jun-2024 09:32:06.220 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:06.222 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-22-40863"] 27-Jun-2024 09:32:06.228 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-22-40863"] 27-Jun-2024 09:32:06.229 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkLF] 27-Jun-2024 09:32:06.230 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-23"] 27-Jun-2024 09:32:06.231 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:06.231 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:06.234 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-23-44975"] 27-Jun-2024 09:32:06.239 INFO [http-nio-127.0.0.1-auto-23-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid end of line sequence (No CR before LF) 27-Jun-2024 09:32:06.239 SEVERE [http-nio-127.0.0.1-auto-23-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:07.239 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-23-44975"] 27-Jun-2024 09:32:07.239 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:07.241 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-23-44975"] 27-Jun-2024 09:32:07.243 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-23-44975"] 27-Jun-2024 09:32:07.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitExact] 27-Jun-2024 09:32:07.245 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-24"] 27-Jun-2024 09:32:07.245 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:07.245 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:07.248 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-24-43201"] 27-Jun-2024 09:32:07.260 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-24-43201"] 27-Jun-2024 09:32:07.260 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:07.262 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-24-43201"] 27-Jun-2024 09:32:07.264 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-24-43201"] 27-Jun-2024 09:32:07.265 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeAbove] 27-Jun-2024 09:32:07.267 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-25"] 27-Jun-2024 09:32:07.267 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:07.267 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:07.270 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-25-33205"] 27-Jun-2024 09:32:07.274 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-25-33205"] 27-Jun-2024 09:32:07.274 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:07.275 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-25-33205"] 27-Jun-2024 09:32:07.278 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-25-33205"] 27-Jun-2024 09:32:07.279 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeBelow] 27-Jun-2024 09:32:07.280 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-26"] 27-Jun-2024 09:32:07.281 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:07.281 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:07.284 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-26-46383"] 27-Jun-2024 09:32:07.296 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-26-46383"] 27-Jun-2024 09:32:07.297 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:07.298 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-26-46383"] 27-Jun-2024 09:32:07.299 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-26-46383"] 27-Jun-2024 09:32:07.301 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersCRLF] 27-Jun-2024 09:32:07.302 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-27"] 27-Jun-2024 09:32:07.302 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:07.302 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:07.305 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-27-40311"] 27-Jun-2024 09:32:08.315 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-27-40311"] 27-Jun-2024 09:32:08.316 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:08.318 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-27-40311"] 27-Jun-2024 09:32:08.319 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-27-40311"] 27-Jun-2024 09:32:08.321 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeMinusOne] 27-Jun-2024 09:32:08.322 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-28"] 27-Jun-2024 09:32:08.322 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:08.322 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:08.325 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-28-40609"] 27-Jun-2024 09:32:08.328 INFO [http-nio-127.0.0.1-auto-28-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 27-Jun-2024 09:32:08.328 SEVERE [http-nio-127.0.0.1-auto-28-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$BodyReadServlet.doPost(TestChunkedInputFilter.java:643) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:08.330 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-28-40609"] 27-Jun-2024 09:32:08.330 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:08.332 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-28-40609"] 27-Jun-2024 09:32:08.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-28-40609"] 27-Jun-2024 09:32:08.334 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeTwentyFive] 27-Jun-2024 09:32:08.335 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-29"] 27-Jun-2024 09:32:08.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:08.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:08.338 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-29-45613"] 27-Jun-2024 09:32:08.341 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-29-45613"] 27-Jun-2024 09:32:08.341 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:08.342 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-29-45613"] 27-Jun-2024 09:32:08.344 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-29-45613"] 27-Jun-2024 09:32:08.345 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersCRLF] 27-Jun-2024 09:32:08.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-30"] 27-Jun-2024 09:32:08.346 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:08.346 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:08.348 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-30-42325"] 27-Jun-2024 09:32:09.351 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-30-42325"] 27-Jun-2024 09:32:09.354 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:09.355 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-30-42325"] 27-Jun-2024 09:32:09.356 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-30-42325"] 27-Jun-2024 09:32:09.358 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersLF] 27-Jun-2024 09:32:09.359 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-31"] 27-Jun-2024 09:32:09.359 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 27-Jun-2024 09:32:09.359 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 27-Jun-2024 09:32:09.366 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-31-34233"] 27-Jun-2024 09:32:10.371 INFO [http-nio-127.0.0.1-auto-31-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: java.lang.IllegalArgumentException: Invalid end of line sequence (No CR before LF) 27-Jun-2024 09:32:10.372 SEVERE [http-nio-127.0.0.1-auto-31-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [servlet] in context with path [] threw exception java.lang.IllegalStateException: Cannot call sendError() after the response has been committed at org.apache.catalina.connector.ResponseFacade.checkCommitted(ResponseFacade.java:485) at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:337) at org.apache.coyote.http11.filters.TestChunkedInputFilter$EchoHeaderServlet.doPost(TestChunkedInputFilter.java:587) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590) at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:195) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:140) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 27-Jun-2024 09:32:10.374 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-31-34233"] 27-Jun-2024 09:32:10.376 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 27-Jun-2024 09:32:10.378 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-31-34233"] 27-Jun-2024 09:32:10.381 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-31-34233"] ------------- ---------------- --------------- Testcase: testTrailerHeaderNameNotTokenSwallowException took 1.422 sec Testcase: testChunkSizeNineDigit took 0.039 sec Testcase: testEndCRLF took 1.039 sec Testcase: testExtensionSizeLimitOneOver took 0.062 sec Testcase: testChunkSizeEightDigit took 0.041 sec Testcase: testChunkHeaderLF took 1.021 sec Testcase: testExtensionSizeLimitOneBelow took 0.016 sec Testcase: testNoTrailingHeaders took 0.015 sec Testcase: testChunkCRLF took 1.02 sec Testcase: testEndLF took 1.032 sec Testcase: testTrailingHeadersSizeLimitAboveLimit took 0.013 sec Testcase: doTestIncompleteChunkedBody took 3.018 sec Testcase: testChunkSizeIntegerMinValue took 0.067 sec Testcase: testChunkSizeAbsent took 0.093 sec Testcase: testTrailingHeadersSizeLimitBelowLimit took 0.136 sec Testcase: testTrailerHeaderNameNotTokenThrowException took 0.043 sec Testcase: testSecondTrailingHeadersLF took 1.025 sec Testcase: testChunkHeaderCRLF took 1.026 sec Testcase: testTrailingHeadersSizeLimitAtLimit took 0.015 sec Testcase: testChunkSizeLong took 0.02 sec Testcase: testChunkSizeZero took 0.021 sec Testcase: testTrailingHeadersSizeLimitPipelining took 0.024 sec Testcase: testChunkLF took 1.014 sec Testcase: testExtensionSizeLimitExact took 0.021 sec Testcase: doTestMaxSwallowSizeAbove took 0.014 sec Testcase: doTestMaxSwallowSizeBelow took 0.021 sec Testcase: testFirstTrailingHeadersCRLF took 1.019 sec Testcase: testChunkSizeMinusOne took 0.014 sec Testcase: testChunkSizeTwentyFive took 0.011 sec Testcase: testSecondTrailingHeadersCRLF took 1.012 sec Testcase: testFirstTrailingHeadersLF took 1.024 sec