Testsuite: org.apache.coyote.http11.filters.TestChunkedInputFilter Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 15.111 sec ------------- Standard Error ----------------- 10-Jul-2024 19:37:34.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenSwallowException] 10-Jul-2024 19:37:35.454 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 10-Jul-2024 19:37:35.485 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:35.486 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:35.638 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-36339"] 10-Jul-2024 19:37:35.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-36339"] 10-Jul-2024 19:37:35.802 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:35.823 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-36339"] 10-Jul-2024 19:37:35.846 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-36339"] 10-Jul-2024 19:37:35.853 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeNineDigit] 10-Jul-2024 19:37:35.856 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 10-Jul-2024 19:37:35.856 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:35.856 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:35.890 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-35291"] 10-Jul-2024 19:37:35.910 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 10-Jul-2024 19:37:35.911 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) 10-Jul-2024 19:37:35.915 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-35291"] 10-Jul-2024 19:37:35.918 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:35.921 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-35291"] 10-Jul-2024 19:37:35.925 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-35291"] 10-Jul-2024 19:37:35.927 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndCRLF] 10-Jul-2024 19:37:35.929 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 10-Jul-2024 19:37:35.929 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:35.929 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:35.945 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37475"] 10-Jul-2024 19:37:37.093 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37475"] 10-Jul-2024 19:37:37.096 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:37.098 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37475"] 10-Jul-2024 19:37:37.104 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37475"] 10-Jul-2024 19:37:37.106 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneOver] 10-Jul-2024 19:37:37.108 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 10-Jul-2024 19:37:37.109 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:37.109 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:37.113 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-42069"] 10-Jul-2024 19:37:37.124 INFO [http-nio-127.0.0.1-auto-4-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxExtensionSize exceeded 10-Jul-2024 19:37:37.124 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) 10-Jul-2024 19:37:37.128 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-42069"] 10-Jul-2024 19:37:37.130 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:37.133 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-42069"] 10-Jul-2024 19:37:37.138 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-42069"] 10-Jul-2024 19:37:37.140 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeEightDigit] 10-Jul-2024 19:37:37.141 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 10-Jul-2024 19:37:37.142 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:37.142 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:37.149 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38871"] 10-Jul-2024 19:37:37.156 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38871"] 10-Jul-2024 19:37:37.158 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:37.161 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38871"] 10-Jul-2024 19:37:37.166 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38871"] 10-Jul-2024 19:37:37.169 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderLF] 10-Jul-2024 19:37:37.176 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 10-Jul-2024 19:37:37.176 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:37.177 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:37.198 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45097"] 10-Jul-2024 19:37:37.212 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) 10-Jul-2024 19:37:37.212 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) 10-Jul-2024 19:37:38.211 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45097"] 10-Jul-2024 19:37:38.212 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:38.214 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45097"] 10-Jul-2024 19:37:38.217 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45097"] 10-Jul-2024 19:37:38.218 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitOneBelow] 10-Jul-2024 19:37:38.219 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 10-Jul-2024 19:37:38.220 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:38.220 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:38.224 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-38331"] 10-Jul-2024 19:37:38.237 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-38331"] 10-Jul-2024 19:37:38.238 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:38.240 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-38331"] 10-Jul-2024 19:37:38.243 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-38331"] 10-Jul-2024 19:37:38.244 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testNoTrailingHeaders] 10-Jul-2024 19:37:38.247 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 10-Jul-2024 19:37:38.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:38.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:38.252 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-41435"] 10-Jul-2024 19:37:38.276 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-41435"] 10-Jul-2024 19:37:38.277 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:38.278 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-41435"] 10-Jul-2024 19:37:38.285 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-41435"] 10-Jul-2024 19:37:38.286 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkCRLF] 10-Jul-2024 19:37:38.287 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-9"] 10-Jul-2024 19:37:38.288 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:38.288 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:38.291 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-9-37525"] 10-Jul-2024 19:37:39.298 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-9-37525"] 10-Jul-2024 19:37:39.299 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:39.301 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-9-37525"] 10-Jul-2024 19:37:39.306 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-9-37525"] 10-Jul-2024 19:37:39.307 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testEndLF] 10-Jul-2024 19:37:39.309 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-10"] 10-Jul-2024 19:37:39.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:39.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:39.323 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-10-32925"] 10-Jul-2024 19:37:40.343 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) 10-Jul-2024 19:37:40.343 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) 10-Jul-2024 19:37:40.345 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-10-32925"] 10-Jul-2024 19:37:40.346 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:40.347 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-10-32925"] 10-Jul-2024 19:37:40.349 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-10-32925"] 10-Jul-2024 19:37:40.351 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAboveLimit] 10-Jul-2024 19:37:40.352 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-11"] 10-Jul-2024 19:37:40.353 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:40.353 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:40.356 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-11-36349"] 10-Jul-2024 19:37:40.365 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-11-36349"] 10-Jul-2024 19:37:40.368 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:40.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-11-36349"] 10-Jul-2024 19:37:40.372 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-11-36349"] 10-Jul-2024 19:37:40.373 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestIncompleteChunkedBody] 10-Jul-2024 19:37:40.375 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-12"] 10-Jul-2024 19:37:40.375 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:40.375 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:40.379 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-12-33679"] 10-Jul-2024 19:37:43.385 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-12-33679"] 10-Jul-2024 19:37:43.387 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:43.389 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-12-33679"] 10-Jul-2024 19:37:43.392 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-12-33679"] 10-Jul-2024 19:37:43.393 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeIntegerMinValue] 10-Jul-2024 19:37:43.394 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-13"] 10-Jul-2024 19:37:43.395 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:43.395 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:43.398 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-13-35255"] 10-Jul-2024 19:37:43.413 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 10-Jul-2024 19:37:43.414 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) 10-Jul-2024 19:37:43.416 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-13-35255"] 10-Jul-2024 19:37:43.418 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:43.420 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-13-35255"] 10-Jul-2024 19:37:43.423 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-13-35255"] 10-Jul-2024 19:37:43.425 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeAbsent] 10-Jul-2024 19:37:43.426 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-14"] 10-Jul-2024 19:37:43.427 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:43.427 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:43.432 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-14-46571"] 10-Jul-2024 19:37:43.437 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 10-Jul-2024 19:37:43.438 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) 10-Jul-2024 19:37:43.440 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-14-46571"] 10-Jul-2024 19:37:43.442 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:43.444 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-14-46571"] 10-Jul-2024 19:37:43.446 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-14-46571"] 10-Jul-2024 19:37:43.448 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitBelowLimit] 10-Jul-2024 19:37:43.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-15"] 10-Jul-2024 19:37:43.450 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:43.450 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:43.454 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-15-43361"] 10-Jul-2024 19:37:43.470 INFO [http-nio-127.0.0.1-auto-15-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 10-Jul-2024 19:37:43.470 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) 10-Jul-2024 19:37:43.472 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-15-43361"] 10-Jul-2024 19:37:43.472 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:43.474 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-15-43361"] 10-Jul-2024 19:37:43.477 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-15-43361"] 10-Jul-2024 19:37:43.480 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailerHeaderNameNotTokenThrowException] 10-Jul-2024 19:37:43.483 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-16"] 10-Jul-2024 19:37:43.484 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:43.484 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:43.491 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-16-44203"] 10-Jul-2024 19:37:43.509 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-16-44203"] 10-Jul-2024 19:37:43.510 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:43.511 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-16-44203"] 10-Jul-2024 19:37:43.515 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-16-44203"] 10-Jul-2024 19:37:43.516 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersLF] 10-Jul-2024 19:37:43.518 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-17"] 10-Jul-2024 19:37:43.518 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:43.518 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:43.535 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-17-35661"] 10-Jul-2024 19:37:44.543 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) 10-Jul-2024 19:37:44.543 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) 10-Jul-2024 19:37:44.547 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-17-35661"] 10-Jul-2024 19:37:44.547 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:44.549 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-17-35661"] 10-Jul-2024 19:37:44.554 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-17-35661"] 10-Jul-2024 19:37:44.556 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkHeaderCRLF] 10-Jul-2024 19:37:44.557 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-18"] 10-Jul-2024 19:37:44.557 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:44.558 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:44.561 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-18-46321"] 10-Jul-2024 19:37:45.575 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-18-46321"] 10-Jul-2024 19:37:45.575 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:45.577 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-18-46321"] 10-Jul-2024 19:37:45.579 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-18-46321"] 10-Jul-2024 19:37:45.580 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitAtLimit] 10-Jul-2024 19:37:45.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-19"] 10-Jul-2024 19:37:45.582 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:45.582 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:45.585 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-19-35347"] 10-Jul-2024 19:37:45.593 INFO [http-nio-127.0.0.1-auto-19-exec-1] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: maxTrailerSize exceeded 10-Jul-2024 19:37:45.594 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) 10-Jul-2024 19:37:45.596 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-19-35347"] 10-Jul-2024 19:37:45.596 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:45.598 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-19-35347"] 10-Jul-2024 19:37:45.599 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-19-35347"] 10-Jul-2024 19:37:45.601 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeLong] 10-Jul-2024 19:37:45.602 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-20"] 10-Jul-2024 19:37:45.602 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:45.602 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:45.605 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-20-36941"] 10-Jul-2024 19:37:45.610 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-20-36941"] 10-Jul-2024 19:37:45.613 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:45.614 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-20-36941"] 10-Jul-2024 19:37:45.619 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-20-36941"] 10-Jul-2024 19:37:45.620 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeZero] 10-Jul-2024 19:37:45.621 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-21"] 10-Jul-2024 19:37:45.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:45.621 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:45.623 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-21-33753"] 10-Jul-2024 19:37:45.627 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-21-33753"] 10-Jul-2024 19:37:45.628 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:45.629 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-21-33753"] 10-Jul-2024 19:37:45.631 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-21-33753"] 10-Jul-2024 19:37:45.632 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTrailingHeadersSizeLimitPipelining] 10-Jul-2024 19:37:45.633 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-22"] 10-Jul-2024 19:37:45.633 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:45.633 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:45.635 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-22-43799"] 10-Jul-2024 19:37:45.645 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-22-43799"] 10-Jul-2024 19:37:45.646 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:45.647 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-22-43799"] 10-Jul-2024 19:37:45.652 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-22-43799"] 10-Jul-2024 19:37:45.653 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkLF] 10-Jul-2024 19:37:45.654 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-23"] 10-Jul-2024 19:37:45.655 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:45.655 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:45.658 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-23-33241"] 10-Jul-2024 19:37:45.665 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) 10-Jul-2024 19:37:45.665 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) 10-Jul-2024 19:37:46.664 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-23-33241"] 10-Jul-2024 19:37:46.665 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:46.666 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-23-33241"] 10-Jul-2024 19:37:46.668 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-23-33241"] 10-Jul-2024 19:37:46.669 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testExtensionSizeLimitExact] 10-Jul-2024 19:37:46.670 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-24"] 10-Jul-2024 19:37:46.670 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:46.670 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:46.673 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-24-37005"] 10-Jul-2024 19:37:46.677 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-24-37005"] 10-Jul-2024 19:37:46.677 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:46.678 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-24-37005"] 10-Jul-2024 19:37:46.687 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-24-37005"] 10-Jul-2024 19:37:46.688 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeAbove] 10-Jul-2024 19:37:46.690 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-25"] 10-Jul-2024 19:37:46.690 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:46.690 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:46.694 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-25-42175"] 10-Jul-2024 19:37:46.705 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-25-42175"] 10-Jul-2024 19:37:46.708 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:46.709 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-25-42175"] 10-Jul-2024 19:37:46.711 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-25-42175"] 10-Jul-2024 19:37:46.713 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [doTestMaxSwallowSizeBelow] 10-Jul-2024 19:37:46.714 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-26"] 10-Jul-2024 19:37:46.715 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:46.715 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:46.717 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-26-40749"] 10-Jul-2024 19:37:46.730 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-26-40749"] 10-Jul-2024 19:37:46.731 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:46.733 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-26-40749"] 10-Jul-2024 19:37:46.735 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-26-40749"] 10-Jul-2024 19:37:46.737 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersCRLF] 10-Jul-2024 19:37:46.739 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-27"] 10-Jul-2024 19:37:46.739 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:46.740 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:46.742 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-27-44257"] 10-Jul-2024 19:37:47.751 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-27-44257"] 10-Jul-2024 19:37:47.752 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:47.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-27-44257"] 10-Jul-2024 19:37:47.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-27-44257"] 10-Jul-2024 19:37:47.756 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeMinusOne] 10-Jul-2024 19:37:47.757 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-28"] 10-Jul-2024 19:37:47.757 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:47.757 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:47.759 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-28-36699"] 10-Jul-2024 19:37:47.763 INFO [http-nio-127.0.0.1-auto-28-exec-5] org.apache.catalina.core.ApplicationContext.log servlet: org.apache.coyote.BadRequestException: Invalid chunk header 10-Jul-2024 19:37:47.763 SEVERE [http-nio-127.0.0.1-auto-28-exec-5] 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) 10-Jul-2024 19:37:47.764 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-28-36699"] 10-Jul-2024 19:37:47.764 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:47.766 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-28-36699"] 10-Jul-2024 19:37:47.769 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-28-36699"] 10-Jul-2024 19:37:47.770 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testChunkSizeTwentyFive] 10-Jul-2024 19:37:47.771 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-29"] 10-Jul-2024 19:37:47.771 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:47.771 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:47.773 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-29-32771"] 10-Jul-2024 19:37:47.789 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-29-32771"] 10-Jul-2024 19:37:47.791 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:47.792 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-29-32771"] 10-Jul-2024 19:37:47.793 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-29-32771"] 10-Jul-2024 19:37:47.794 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSecondTrailingHeadersCRLF] 10-Jul-2024 19:37:47.795 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-30"] 10-Jul-2024 19:37:47.795 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:47.795 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:47.797 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-30-36819"] 10-Jul-2024 19:37:48.800 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-30-36819"] 10-Jul-2024 19:37:48.801 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:48.802 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-30-36819"] 10-Jul-2024 19:37:48.804 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-30-36819"] 10-Jul-2024 19:37:48.805 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstTrailingHeadersLF] 10-Jul-2024 19:37:48.806 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-31"] 10-Jul-2024 19:37:48.806 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 10-Jul-2024 19:37:48.806 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.27-dev] 10-Jul-2024 19:37:48.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-31-45857"] 10-Jul-2024 19:37:49.810 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) 10-Jul-2024 19:37:49.811 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) 10-Jul-2024 19:37:49.812 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-31-45857"] 10-Jul-2024 19:37:49.813 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 10-Jul-2024 19:37:49.814 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-31-45857"] 10-Jul-2024 19:37:49.816 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-31-45857"] ------------- ---------------- --------------- Testcase: testTrailerHeaderNameNotTokenSwallowException took 1.096 sec Testcase: testChunkSizeNineDigit took 0.073 sec Testcase: testEndCRLF took 1.179 sec Testcase: testExtensionSizeLimitOneOver took 0.033 sec Testcase: testChunkSizeEightDigit took 0.029 sec Testcase: testChunkHeaderLF took 1.048 sec Testcase: testExtensionSizeLimitOneBelow took 0.026 sec Testcase: testNoTrailingHeaders took 0.041 sec Testcase: testChunkCRLF took 1.021 sec Testcase: testEndLF took 1.043 sec Testcase: testTrailingHeadersSizeLimitAboveLimit took 0.023 sec Testcase: doTestIncompleteChunkedBody took 3.02 sec Testcase: testChunkSizeIntegerMinValue took 0.031 sec Testcase: testChunkSizeAbsent took 0.023 sec Testcase: testTrailingHeadersSizeLimitBelowLimit took 0.031 sec Testcase: testTrailerHeaderNameNotTokenThrowException took 0.037 sec Testcase: testSecondTrailingHeadersLF took 1.039 sec Testcase: testChunkHeaderCRLF took 1.025 sec Testcase: testTrailingHeadersSizeLimitAtLimit took 0.02 sec Testcase: testChunkSizeLong took 0.02 sec Testcase: testChunkSizeZero took 0.012 sec Testcase: testTrailingHeadersSizeLimitPipelining took 0.021 sec Testcase: testChunkLF took 1.015 sec Testcase: testExtensionSizeLimitExact took 0.019 sec Testcase: doTestMaxSwallowSizeAbove took 0.024 sec Testcase: doTestMaxSwallowSizeBelow took 0.024 sec Testcase: testFirstTrailingHeadersCRLF took 1.019 sec Testcase: testChunkSizeMinusOne took 0.015 sec Testcase: testChunkSizeTwentyFive took 0.024 sec Testcase: testSecondTrailingHeadersCRLF took 1.011 sec Testcase: testFirstTrailingHeadersLF took 1.011 sec