Testsuite: org.apache.coyote.http2.TestHttp2Section_4_2 Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.092 sec ------------- Standard Error ----------------- 08-Nov-2024 15:05:58.873 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]]] 08-Nov-2024 15:05:59.943 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-1"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:05:59.944 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 08-Nov-2024 15:06:00.064 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.064 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.195 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34141"] 08-Nov-2024 15:06:00.333 INFO [http-nio2-127.0.0.1-auto-1-exec-4] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [0], Stream [3] Closed due to error Note: further occurrences of HTTP/2 stream errors will be logged at DEBUG level. org.apache.coyote.http2.StreamException: Payload size of [0] is not valid for frame type [PRIORITY] at org.apache.coyote.http2.FrameType.check(FrameType.java:82) at org.apache.coyote.http2.Http2Parser.validateFrame(Http2Parser.java:683) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:87) at org.apache.coyote.http2.Http2Parser.readFrame(Http2Parser.java:70) at org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch(Http2UpgradeHandler.java:354) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 08-Nov-2024 15:06:00.339 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34141"] 08-Nov-2024 15:06:00.340 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.370 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34141"] 08-Nov-2024 15:06:00.372 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-34141"] 08-Nov-2024 15:06:00.380 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 08-Nov-2024 15:06:00.383 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-2"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.383 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 08-Nov-2024 15:06:00.393 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.394 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.401 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46513"] 08-Nov-2024 15:06:00.422 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46513"] 08-Nov-2024 15:06:00.425 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.434 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46513"] 08-Nov-2024 15:06:00.435 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-46513"] 08-Nov-2024 15:06:00.446 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]]] 08-Nov-2024 15:06:00.449 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-3"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.449 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 08-Nov-2024 15:06:00.463 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.463 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.474 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42509"] 08-Nov-2024 15:06:00.492 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42509"] 08-Nov-2024 15:06:00.494 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.497 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42509"] 08-Nov-2024 15:06:00.499 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42509"] 08-Nov-2024 15:06:00.507 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]]] 08-Nov-2024 15:06:00.510 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-4"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.510 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 08-Nov-2024 15:06:00.516 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.516 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.522 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41703"] 08-Nov-2024 15:06:00.532 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41703"] 08-Nov-2024 15:06:00.535 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.539 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41703"] 08-Nov-2024 15:06:00.540 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-41703"] 08-Nov-2024 15:06:00.544 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]]] 08-Nov-2024 15:06:00.547 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-5"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.547 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 08-Nov-2024 15:06:00.572 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.572 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.580 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45867"] 08-Nov-2024 15:06:00.597 INFO [http-nio2-127.0.0.1-auto-5-exec-3] org.apache.coyote.http2.Http2UpgradeHandler.upgradeDispatch Connection [4], Stream [3] Closed due to error Note: further occurrences of HTTP/2 stream errors will be logged at DEBUG level. org.apache.coyote.http2.StreamException: Payload size of [0] is not valid for frame type [PRIORITY] at org.apache.coyote.http2.FrameType.check(FrameType.java:82) at org.apache.coyote.http2.Http2Parser.validateFrame(Http2Parser.java:683) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.validate(Http2AsyncParser.java:219) at org.apache.coyote.http2.Http2AsyncParser$FrameCompletionHandler.callHandler(Http2AsyncParser.java:197) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1076) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1065) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) at java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 08-Nov-2024 15:06:00.597 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45867"] 08-Nov-2024 15:06:00.600 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.603 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45867"] 08-Nov-2024 15:06:00.604 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-45867"] 08-Nov-2024 15:06:00.607 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 08-Nov-2024 15:06:00.608 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-6"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.609 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 08-Nov-2024 15:06:00.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.616 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.621 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43465"] 08-Nov-2024 15:06:00.631 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43465"] 08-Nov-2024 15:06:00.635 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.638 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43465"] 08-Nov-2024 15:06:00.641 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-43465"] 08-Nov-2024 15:06:00.656 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]]] 08-Nov-2024 15:06:00.665 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-7"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.666 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 08-Nov-2024 15:06:00.677 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.677 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.690 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37787"] 08-Nov-2024 15:06:00.699 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37787"] 08-Nov-2024 15:06:00.700 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.702 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37787"] 08-Nov-2024 15:06:00.704 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-37787"] 08-Nov-2024 15:06:00.707 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]]] 08-Nov-2024 15:06:00.709 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-8"] connector has been configured to support HTTP upgrade to [h2c] 08-Nov-2024 15:06:00.710 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 08-Nov-2024 15:06:00.716 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 15:06:00.716 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 15:06:00.721 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45193"] 08-Nov-2024 15:06:00.772 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45193"] 08-Nov-2024 15:06:00.775 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 15:06:00.778 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45193"] 08-Nov-2024 15:06:00.781 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-45193"] ------------- ---------------- --------------- Testcase: testFrameTypeLimitsStream[0: loop [0], useAsyncIO[false]] took 1.577 sec Testcase: testFrameTypeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.065 sec Testcase: testFrameSizeLimitsTooBig[0: loop [0], useAsyncIO[false]] took 0.06 sec Testcase: testFrameTypeLimitsTooSmall[0: loop [0], useAsyncIO[false]] took 0.037 sec Testcase: testFrameTypeLimitsStream[1: loop [0], useAsyncIO[true]] took 0.063 sec Testcase: testFrameTypeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.047 sec Testcase: testFrameSizeLimitsTooBig[1: loop [0], useAsyncIO[true]] took 0.054 sec Testcase: testFrameTypeLimitsTooSmall[1: loop [0], useAsyncIO[true]] took 0.08 sec