Testsuite: org.apache.coyote.http11.filters.TestChunkedInputFilter Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.561 sec ------------- Standard Error ----------------- 12-Jul-2024 13:06:59.617 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenSwallowException] 12-Jul-2024 13:07:00.404 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 12-Jul-2024 13:07:00.469 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:00.471 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:00.741 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-33883"] 12-Jul-2024 13:07:00.976 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-33883"] 12-Jul-2024 13:07:00.981 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:01.011 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-33883"] 12-Jul-2024 13:07:01.018 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-33883"] 12-Jul-2024 13:07:01.027 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeNineDigit] 12-Jul-2024 13:07:01.032 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 12-Jul-2024 13:07:01.033 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:01.033 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:01.053 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-45181"] 12-Jul-2024 13:07:01.068 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 12-Jul-2024 13:07:01.069 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) 12-Jul-2024 13:07:01.072 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-45181"] 12-Jul-2024 13:07:01.075 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:01.078 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-45181"] 12-Jul-2024 13:07:01.082 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-45181"] 12-Jul-2024 13:07:01.084 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndCRLF] 12-Jul-2024 13:07:01.089 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 12-Jul-2024 13:07:01.090 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:01.090 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:01.097 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37991"] 12-Jul-2024 13:07:02.104 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37991"] 12-Jul-2024 13:07:02.105 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:02.108 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37991"] 12-Jul-2024 13:07:02.113 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37991"] 12-Jul-2024 13:07:02.116 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneOver] 12-Jul-2024 13:07:02.127 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 12-Jul-2024 13:07:02.128 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:02.131 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:02.142 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-37887"] 12-Jul-2024 13:07:02.151 INFO [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxExtensionSize exceeded 12-Jul-2024 13:07:02.152 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) 12-Jul-2024 13:07:02.155 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-37887"] 12-Jul-2024 13:07:02.157 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:02.160 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-37887"] 12-Jul-2024 13:07:02.164 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-37887"] 12-Jul-2024 13:07:02.165 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeEightDigit] 12-Jul-2024 13:07:02.166 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 12-Jul-2024 13:07:02.166 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:02.167 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:02.175 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-42009"] 12-Jul-2024 13:07:02.229 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-42009"] 12-Jul-2024 13:07:02.231 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:02.234 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-42009"] 12-Jul-2024 13:07:02.240 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-42009"] 12-Jul-2024 13:07:02.242 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderLF] 12-Jul-2024 13:07:02.244 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 12-Jul-2024 13:07:02.244 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:02.244 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:02.268 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-41783"] 12-Jul-2024 13:07:02.295 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) 12-Jul-2024 13:07:02.296 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) 12-Jul-2024 13:07:03.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-41783"] 12-Jul-2024 13:07:03.294 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:03.296 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-41783"] 12-Jul-2024 13:07:03.299 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-41783"] 12-Jul-2024 13:07:03.300 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneBelow] 12-Jul-2024 13:07:03.304 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 12-Jul-2024 13:07:03.305 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:03.305 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:03.311 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-38593"] 12-Jul-2024 13:07:03.326 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-38593"] 12-Jul-2024 13:07:03.327 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:03.329 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-38593"] 12-Jul-2024 13:07:03.333 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-38593"] 12-Jul-2024 13:07:03.336 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoTrailingHeaders] 12-Jul-2024 13:07:03.337 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 12-Jul-2024 13:07:03.337 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:03.337 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:03.341 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-39837"] 12-Jul-2024 13:07:03.353 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-39837"] 12-Jul-2024 13:07:03.355 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:03.357 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-39837"] 12-Jul-2024 13:07:03.359 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-39837"] 12-Jul-2024 13:07:03.361 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkCRLF] 12-Jul-2024 13:07:03.362 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 12-Jul-2024 13:07:03.363 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:03.363 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:03.367 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-41505"] 12-Jul-2024 13:07:04.376 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-41505"] 12-Jul-2024 13:07:04.377 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:04.388 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-41505"] 12-Jul-2024 13:07:04.400 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-41505"] 12-Jul-2024 13:07:04.406 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndLF] 12-Jul-2024 13:07:04.408 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 12-Jul-2024 13:07:04.409 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:04.409 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:04.423 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-35789"] 12-Jul-2024 13:07:05.434 INFO [http-nio-127.0.0.1-auto-10-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) 12-Jul-2024 13:07:05.434 SEVERE [http-nio-127.0.0.1-auto-10-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) 12-Jul-2024 13:07:05.436 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-35789"] 12-Jul-2024 13:07:05.436 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:05.438 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-35789"] 12-Jul-2024 13:07:05.440 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-35789"] 12-Jul-2024 13:07:05.441 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAboveLimit] 12-Jul-2024 13:07:05.442 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 12-Jul-2024 13:07:05.442 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:05.442 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:05.445 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-34569"] 12-Jul-2024 13:07:05.450 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-34569"] 12-Jul-2024 13:07:05.450 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:05.452 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-34569"] 12-Jul-2024 13:07:05.454 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-34569"] 12-Jul-2024 13:07:05.455 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestIncompleteChunkedBody] 12-Jul-2024 13:07:05.456 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 12-Jul-2024 13:07:05.456 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:05.456 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:05.459 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-12-36179"] 12-Jul-2024 13:07:08.465 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-12-36179"] 12-Jul-2024 13:07:08.468 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:08.477 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-12-36179"] 12-Jul-2024 13:07:08.491 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12-36179"] 12-Jul-2024 13:07:08.495 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeIntegerMinValue] 12-Jul-2024 13:07:08.497 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 12-Jul-2024 13:07:08.501 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:08.502 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:08.519 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-38765"] 12-Jul-2024 13:07:08.538 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 12-Jul-2024 13:07:08.538 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) 12-Jul-2024 13:07:08.541 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-38765"] 12-Jul-2024 13:07:08.544 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:08.546 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-38765"] 12-Jul-2024 13:07:08.549 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-38765"] 12-Jul-2024 13:07:08.551 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeAbsent] 12-Jul-2024 13:07:08.553 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 12-Jul-2024 13:07:08.554 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:08.554 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:08.558 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-39647"] 12-Jul-2024 13:07:08.577 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 12-Jul-2024 13:07:08.577 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) 12-Jul-2024 13:07:08.580 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-39647"] 12-Jul-2024 13:07:08.585 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:08.586 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-39647"] 12-Jul-2024 13:07:08.589 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-39647"] 12-Jul-2024 13:07:08.591 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitBelowLimit] 12-Jul-2024 13:07:08.592 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 12-Jul-2024 13:07:08.593 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:08.593 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:08.597 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 12-Jul-2024 13:07:08.602 INFO [http-nio-127.0.0.1-auto-15-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 12-Jul-2024 13:07:08.602 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) 12-Jul-2024 13:07:08.604 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 12-Jul-2024 13:07:08.607 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:08.609 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 12-Jul-2024 13:07:08.612 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-36993"] 12-Jul-2024 13:07:08.614 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenThrowException] 12-Jul-2024 13:07:08.618 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-16"] 12-Jul-2024 13:07:08.619 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:08.619 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:08.628 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-16-39941"] 12-Jul-2024 13:07:08.641 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-16-39941"] 12-Jul-2024 13:07:08.644 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:08.645 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-16-39941"] 12-Jul-2024 13:07:08.647 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-16-39941"] 12-Jul-2024 13:07:08.648 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersLF] 12-Jul-2024 13:07:08.650 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-17"] 12-Jul-2024 13:07:08.651 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:08.652 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:08.655 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-17-40609"] 12-Jul-2024 13:07:09.687 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) 12-Jul-2024 13:07:09.688 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) 12-Jul-2024 13:07:09.690 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-17-40609"] 12-Jul-2024 13:07:09.690 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:09.692 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-17-40609"] 12-Jul-2024 13:07:09.699 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-17-40609"] 12-Jul-2024 13:07:09.700 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderCRLF] 12-Jul-2024 13:07:09.701 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-18"] 12-Jul-2024 13:07:09.701 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:09.701 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:09.704 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-18-34873"] 12-Jul-2024 13:07:10.709 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-18-34873"] 12-Jul-2024 13:07:10.710 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:10.711 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-18-34873"] 12-Jul-2024 13:07:10.715 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-18-34873"] 12-Jul-2024 13:07:10.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAtLimit] 12-Jul-2024 13:07:10.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-19"] 12-Jul-2024 13:07:10.721 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:10.722 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:10.724 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-19-39121"] 12-Jul-2024 13:07:10.744 INFO [http-nio-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 12-Jul-2024 13:07:10.744 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) 12-Jul-2024 13:07:10.748 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-19-39121"] 12-Jul-2024 13:07:10.749 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:10.751 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-19-39121"] 12-Jul-2024 13:07:10.754 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-19-39121"] 12-Jul-2024 13:07:10.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeLong] 12-Jul-2024 13:07:10.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-20"] 12-Jul-2024 13:07:10.758 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:10.758 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:10.761 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-20-41761"] 12-Jul-2024 13:07:10.766 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-20-41761"] 12-Jul-2024 13:07:10.769 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:10.770 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-20-41761"] 12-Jul-2024 13:07:10.771 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-20-41761"] 12-Jul-2024 13:07:10.772 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeZero] 12-Jul-2024 13:07:10.774 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-21"] 12-Jul-2024 13:07:10.774 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:10.774 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:10.776 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-21-41755"] 12-Jul-2024 13:07:10.782 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-21-41755"] 12-Jul-2024 13:07:10.782 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:10.784 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-21-41755"] 12-Jul-2024 13:07:10.785 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-21-41755"] 12-Jul-2024 13:07:10.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitPipelining] 12-Jul-2024 13:07:10.787 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-22"] 12-Jul-2024 13:07:10.791 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:10.791 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:10.801 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-22-35461"] 12-Jul-2024 13:07:10.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-22-35461"] 12-Jul-2024 13:07:10.815 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:10.816 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-22-35461"] 12-Jul-2024 13:07:10.818 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-22-35461"] 12-Jul-2024 13:07:10.819 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkLF] 12-Jul-2024 13:07:10.820 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-23"] 12-Jul-2024 13:07:10.820 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:10.820 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:10.823 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-23-41517"] 12-Jul-2024 13:07:10.829 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) 12-Jul-2024 13:07:10.830 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) 12-Jul-2024 13:07:11.829 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-23-41517"] 12-Jul-2024 13:07:11.830 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:11.832 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-23-41517"] 12-Jul-2024 13:07:11.833 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-23-41517"] 12-Jul-2024 13:07:11.834 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitExact] 12-Jul-2024 13:07:11.835 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-24"] 12-Jul-2024 13:07:11.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:11.835 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:11.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-24-35213"] 12-Jul-2024 13:07:11.845 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-24-35213"] 12-Jul-2024 13:07:11.845 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:11.847 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-24-35213"] 12-Jul-2024 13:07:11.850 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-24-35213"] 12-Jul-2024 13:07:11.851 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeAbove] 12-Jul-2024 13:07:11.852 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-25"] 12-Jul-2024 13:07:11.853 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:11.853 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:11.855 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-25-44169"] 12-Jul-2024 13:07:11.861 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-25-44169"] 12-Jul-2024 13:07:11.863 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:11.865 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-25-44169"] 12-Jul-2024 13:07:11.867 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-25-44169"] 12-Jul-2024 13:07:11.867 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeBelow] 12-Jul-2024 13:07:11.868 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-26"] 12-Jul-2024 13:07:11.868 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:11.869 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:11.871 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-26-44399"] 12-Jul-2024 13:07:11.880 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-26-44399"] 12-Jul-2024 13:07:11.881 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:11.882 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-26-44399"] 12-Jul-2024 13:07:11.884 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-26-44399"] 12-Jul-2024 13:07:11.885 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersCRLF] 12-Jul-2024 13:07:11.886 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-27"] 12-Jul-2024 13:07:11.886 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:11.887 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:11.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-27-46339"] 12-Jul-2024 13:07:12.903 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-27-46339"] 12-Jul-2024 13:07:12.903 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:12.905 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-27-46339"] 12-Jul-2024 13:07:12.906 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-27-46339"] 12-Jul-2024 13:07:12.907 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeMinusOne] 12-Jul-2024 13:07:12.908 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-28"] 12-Jul-2024 13:07:12.908 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:12.908 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:12.910 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-28-35887"] 12-Jul-2024 13:07:12.918 INFO [http-nio-127.0.0.1-auto-28-exec-2] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 12-Jul-2024 13:07:12.919 SEVERE [http-nio-127.0.0.1-auto-28-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$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) 12-Jul-2024 13:07:12.920 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-28-35887"] 12-Jul-2024 13:07:12.927 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:12.928 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-28-35887"] 12-Jul-2024 13:07:12.930 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-28-35887"] 12-Jul-2024 13:07:12.931 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeTwentyFive] 12-Jul-2024 13:07:12.932 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-29"] 12-Jul-2024 13:07:12.932 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:12.933 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:12.936 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-29-39069"] 12-Jul-2024 13:07:12.950 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-29-39069"] 12-Jul-2024 13:07:12.951 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:12.952 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-29-39069"] 12-Jul-2024 13:07:12.954 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-29-39069"] 12-Jul-2024 13:07:12.955 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersCRLF] 12-Jul-2024 13:07:12.956 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-30"] 12-Jul-2024 13:07:12.956 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:12.956 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:12.958 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-30-46863"] 12-Jul-2024 13:07:13.964 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-30-46863"] 12-Jul-2024 13:07:13.964 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:13.966 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-30-46863"] 12-Jul-2024 13:07:13.967 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-30-46863"] 12-Jul-2024 13:07:13.969 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersLF] 12-Jul-2024 13:07:13.970 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-31"] 12-Jul-2024 13:07:13.970 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 12-Jul-2024 13:07:13.970 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 12-Jul-2024 13:07:13.973 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-31-41783"] 12-Jul-2024 13:07:14.975 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) 12-Jul-2024 13:07:14.976 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) 12-Jul-2024 13:07:14.978 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-31-41783"] 12-Jul-2024 13:07:14.978 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 12-Jul-2024 13:07:14.980 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-31-41783"] 12-Jul-2024 13:07:14.982 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-31-41783"] ------------- ---------------- --------------- Testcase: testTrailerHeaderNameNotTokenSwallowException took 1.541 sec Testcase: testChunkSizeNineDigit took 0.057 sec Testcase: testEndCRLF took 1.031 sec Testcase: testExtensionSizeLimitOneOver took 0.049 sec Testcase: testChunkSizeEightDigit took 0.077 sec Testcase: testChunkHeaderLF took 1.058 sec Testcase: testExtensionSizeLimitOneBelow took 0.035 sec Testcase: testNoTrailingHeaders took 0.025 sec Testcase: testChunkCRLF took 1.046 sec Testcase: testEndLF took 1.035 sec Testcase: testTrailingHeadersSizeLimitAboveLimit took 0.013 sec Testcase: doTestIncompleteChunkedBody took 3.04 sec Testcase: testChunkSizeIntegerMinValue took 0.056 sec Testcase: testChunkSizeAbsent took 0.04 sec Testcase: testTrailingHeadersSizeLimitBelowLimit took 0.022 sec Testcase: testTrailerHeaderNameNotTokenThrowException took 0.035 sec Testcase: testSecondTrailingHeadersLF took 1.051 sec Testcase: testChunkHeaderCRLF took 1.019 sec Testcase: testTrailingHeadersSizeLimitAtLimit took 0.035 sec Testcase: testChunkSizeLong took 0.017 sec Testcase: testChunkSizeZero took 0.014 sec Testcase: testTrailingHeadersSizeLimitPipelining took 0.032 sec Testcase: testChunkLF took 1.014 sec Testcase: testExtensionSizeLimitExact took 0.017 sec Testcase: doTestMaxSwallowSizeAbove took 0.016 sec Testcase: doTestMaxSwallowSizeBelow took 0.018 sec Testcase: testFirstTrailingHeadersCRLF took 1.022 sec Testcase: testChunkSizeMinusOne took 0.024 sec Testcase: testChunkSizeTwentyFive took 0.023 sec Testcase: testSecondTrailingHeadersCRLF took 1.013 sec Testcase: testFirstTrailingHeadersLF took 1.015 sec