Testsuite: org.apache.coyote.http2.TestRfc9218 Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.606 sec ------------- Standard Output --------------- 3-HeadersStart 3-Header-[:status]-[200] 3-Header-[content-type]-[application/octet-stream] 3-Header-[content-length]-[8192] 3-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 3-HeadersEnd 3-Body-8192 3-EndOfStream 5-HeadersStart 5-Header-[:status]-[200] 5-Header-[content-type]-[application/octet-stream] 5-Header-[content-length]-[8192] 5-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 5-HeadersEnd 5-Body-8192 5-EndOfStream 7-HeadersStart 7-Header-[:status]-[200] 7-Header-[content-type]-[application/octet-stream] 7-Header-[content-length]-[8192] 7-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 7-HeadersEnd 7-Body-8192 7-EndOfStream 9-HeadersStart 9-Header-[:status]-[200] 9-Header-[content-type]-[application/octet-stream] 9-Header-[content-length]-[8192] 9-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 9-HeadersEnd 9-Body-8192 9-EndOfStream 11-HeadersStart 11-Header-[:status]-[200] 11-Header-[content-type]-[application/octet-stream] 11-Header-[content-length]-[8192] 11-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 11-HeadersEnd 11-Body-8192 11-EndOfStream 13-HeadersStart 13-Header-[:status]-[200] 13-Header-[content-type]-[application/octet-stream] 13-Header-[content-length]-[8192] 13-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 13-HeadersEnd 13-Body-8192 13-EndOfStream 15-HeadersStart 15-Header-[:status]-[200] 15-Header-[content-type]-[application/octet-stream] 15-Header-[content-length]-[8192] 15-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 15-HeadersEnd 15-Body-8192 15-EndOfStream 17-HeadersStart 17-Header-[:status]-[200] 17-Header-[content-type]-[application/octet-stream] 17-Header-[content-length]-[8192] 17-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 17-HeadersEnd 17-Body-1024 19-HeadersStart 19-Header-[:status]-[200] 19-Header-[content-type]-[application/octet-stream] 19-Header-[content-length]-[8192] 19-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 19-HeadersEnd 21-HeadersStart 21-Header-[:status]-[200] 21-Header-[content-type]-[application/octet-stream] 21-Header-[content-length]-[8192] 21-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 21-HeadersEnd 21-Body-1365 17-Body-5266 17-EndOfStream 19-Body-1560 3-HeadersStart 3-Header-[:status]-[200] 3-Header-[content-type]-[application/octet-stream] 3-Header-[content-length]-[8192] 3-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 3-HeadersEnd 3-Body-8192 3-EndOfStream 5-HeadersStart 5-Header-[:status]-[200] 5-Header-[content-type]-[application/octet-stream] 5-Header-[content-length]-[8192] 5-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 5-HeadersEnd 5-Body-8192 5-EndOfStream 7-HeadersStart 7-Header-[:status]-[200] 7-Header-[content-type]-[application/octet-stream] 7-Header-[content-length]-[8192] 7-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 7-HeadersEnd 7-Body-8192 7-EndOfStream 9-HeadersStart 9-Header-[:status]-[200] 9-Header-[content-type]-[application/octet-stream] 9-Header-[content-length]-[8192] 9-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 9-HeadersEnd 9-Body-8192 9-EndOfStream 11-HeadersStart 11-Header-[:status]-[200] 11-Header-[content-type]-[application/octet-stream] 11-Header-[content-length]-[8192] 11-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 11-HeadersEnd 11-Body-8192 11-EndOfStream 13-HeadersStart 13-Header-[:status]-[200] 13-Header-[content-type]-[application/octet-stream] 13-Header-[content-length]-[8192] 13-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 13-HeadersEnd 13-Body-8192 13-EndOfStream 15-HeadersStart 15-Header-[:status]-[200] 15-Header-[content-type]-[application/octet-stream] 15-Header-[content-length]-[8192] 15-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 15-HeadersEnd 15-Body-8192 15-EndOfStream 17-HeadersStart 17-Header-[:status]-[200] 17-Header-[content-type]-[application/octet-stream] 17-Header-[content-length]-[8192] 17-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 17-HeadersEnd 17-Body-1024 19-HeadersStart 19-Header-[:status]-[200] 19-Header-[content-type]-[application/octet-stream] 19-Header-[content-length]-[8192] 19-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 19-HeadersEnd 21-HeadersStart 21-Header-[:status]-[200] 21-Header-[content-type]-[application/octet-stream] 21-Header-[content-length]-[8192] 21-Header-[date]-[Wed, 11 Nov 2015 19:18:42 GMT] 21-HeadersEnd 21-Body-1365 17-Body-5266 17-EndOfStream 19-Body-1560 ------------- ---------------- --------------- ------------- Standard Error ----------------- 04-Dec-2024 19:42:55.868 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[0: loop [0], useAsyncIO[false]]] 04-Dec-2024 19:42:56.410 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-1"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2024 19:42:56.411 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Dec-2024 19:42:56.438 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:42:56.438 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:42:56.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35843"] 04-Dec-2024 19:42:56.846 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35843"] 04-Dec-2024 19:42:56.847 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:42:56.848 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:42:57.850 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:42:58.851 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:42:58.964 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1847) org.apache.coyote.http2.WindowAllocationManager.waitFor(WindowAllocationManager.java:171) org.apache.coyote.http2.WindowAllocationManager.waitForConnection(WindowAllocationManager.java:82) org.apache.coyote.http2.Stream.waitForConnectionAllocation(Stream.java:303) org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:975) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:1034) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:978) org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:1085) org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:69) org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:265) org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:386) org.apache.coyote.Response.action(Response.java:204) org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:247) org.apache.catalina.connector.OutputBuffer.updateBytesWritten(OutputBuffer.java:431) org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:370) org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:347) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:103) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:95) org.apache.coyote.http2.Http2TestBase$SimpleServlet.doGet(Http2TestBase.java:1346) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:446) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:101) org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570)] 04-Dec-2024 19:42:58.965 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1847) org.apache.coyote.http2.WindowAllocationManager.waitFor(WindowAllocationManager.java:171) org.apache.coyote.http2.WindowAllocationManager.waitForConnection(WindowAllocationManager.java:82) org.apache.coyote.http2.Stream.waitForConnectionAllocation(Stream.java:303) org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:975) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:1034) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:978) org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:1085) org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:69) org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:265) org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:386) org.apache.coyote.Response.action(Response.java:204) org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:247) org.apache.catalina.connector.OutputBuffer.updateBytesWritten(OutputBuffer.java:431) org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:370) org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:347) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:103) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:95) org.apache.coyote.http2.Http2TestBase$SimpleServlet.doGet(Http2TestBase.java:1346) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:446) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:101) org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570)] 04-Dec-2024 19:42:58.971 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35843"] 04-Dec-2024 19:42:58.973 SEVERE [http-nio-127.0.0.1-auto-1-exec-8] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored java.util.concurrent.RejectedExecutionException at org.apache.tomcat.util.net.SocketWrapperBase.execute(SocketWrapperBase.java:186) at org.apache.coyote.http2.Http2UpgradeHandler.processStreamOnContainerThread(Http2UpgradeHandler.java:304) at org.apache.coyote.http2.StreamProcessor.processSocketEvent(StreamProcessor.java:333) at org.apache.coyote.http2.StreamProcessor.executeDispatches(StreamProcessor.java:383) at org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:613) at org.apache.coyote.Request.action(Request.java:542) at org.apache.coyote.http2.Stream$StandardStreamInputBuffer.receiveReset(Stream.java:1419) at org.apache.coyote.http2.Stream.receiveReset(Stream.java:219) at org.apache.coyote.http2.Http2UpgradeHandler.close(Http2UpgradeHandler.java:1274) at org.apache.coyote.http2.Http2UpgradeHandler.closeConnection(Http2UpgradeHandler.java:627) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:429) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1746) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:1570) 04-Dec-2024 19:42:58.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35843"] 04-Dec-2024 19:42:58.985 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testPriority[1: loop [0], useAsyncIO[true]]] 04-Dec-2024 19:42:58.988 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-127.0.0.1-auto-2"] connector has been configured to support HTTP upgrade to [h2c] 04-Dec-2024 19:42:58.988 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Dec-2024 19:42:58.989 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:42:58.989 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:42:58.994 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-38509"] 04-Dec-2024 19:42:59.242 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-38509"] 04-Dec-2024 19:42:59.243 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:42:59.243 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:43:00.244 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:43:01.246 INFO [main] org.apache.catalina.core.StandardWrapper.unload Waiting for [2] instance(s) to be deallocated for Servlet [simple] 04-Dec-2024 19:43:01.349 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1847) org.apache.coyote.http2.WindowAllocationManager.waitFor(WindowAllocationManager.java:171) org.apache.coyote.http2.WindowAllocationManager.waitForConnection(WindowAllocationManager.java:82) org.apache.coyote.http2.Stream.waitForConnectionAllocation(Stream.java:303) org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:975) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:1034) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:978) org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:1085) org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:69) org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:265) org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:386) org.apache.coyote.Response.action(Response.java:204) org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:247) org.apache.catalina.connector.OutputBuffer.updateBytesWritten(OutputBuffer.java:431) org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:370) org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:347) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:103) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:95) org.apache.coyote.http2.Http2TestBase$SimpleServlet.doGet(Http2TestBase.java:1346) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:446) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:101) org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570)] 04-Dec-2024 19:43:01.349 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] is still processing a request that has yet to finish. This is very likely to create a memory leak. You can control the time allowed for requests to finish by using the unloadDelay attribute of the standard Context implementation. Stack trace of request processing thread:[ java.base/jdk.internal.misc.Unsafe.park(Native Method) java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1847) org.apache.coyote.http2.WindowAllocationManager.waitFor(WindowAllocationManager.java:171) org.apache.coyote.http2.WindowAllocationManager.waitForConnection(WindowAllocationManager.java:82) org.apache.coyote.http2.Stream.waitForConnectionAllocation(Stream.java:303) org.apache.coyote.http2.Http2UpgradeHandler.reserveWindowSize(Http2UpgradeHandler.java:975) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:1034) org.apache.coyote.http2.Stream$StreamOutputBuffer.flush(Stream.java:978) org.apache.coyote.http2.Stream$StreamOutputBuffer.end(Stream.java:1085) org.apache.coyote.http2.Http2OutputBuffer.end(Http2OutputBuffer.java:69) org.apache.coyote.http2.StreamProcessor.finishResponse(StreamProcessor.java:265) org.apache.coyote.AbstractProcessor.action(AbstractProcessor.java:386) org.apache.coyote.Response.action(Response.java:204) org.apache.catalina.connector.OutputBuffer.close(OutputBuffer.java:247) org.apache.catalina.connector.OutputBuffer.updateBytesWritten(OutputBuffer.java:431) org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:370) org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:347) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:103) org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:95) org.apache.coyote.http2.Http2TestBase$SimpleServlet.doGet(Http2TestBase.java:1346) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:619) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:716) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:130) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:79) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:483) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) org.apache.coyote.http2.StreamProcessor.service(StreamProcessor.java:446) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) org.apache.coyote.http2.StreamProcessor.process(StreamProcessor.java:101) org.apache.coyote.http2.StreamRunnable.run(StreamRunnable.java:35) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570)] 04-Dec-2024 19:43:01.351 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-38509"] 04-Dec-2024 19:43:01.371 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-38509"] ------------- ---------------- --------------- Testcase: testPriority[0: loop [0], useAsyncIO[false]] took 3.157 sec Testcase: testPriority[1: loop [0], useAsyncIO[true]] took 2.391 sec