Testsuite: org.apache.coyote.http2.TestHttp2Section_3_2 Tests run: 22, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.719 sec ------------- Standard Error ----------------- 13-Dec-2024 19:32:52.238 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeFirstResponse[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:52.823 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] 13-Dec-2024 19:32:52.824 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 13-Dec-2024 19:32:52.887 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:52.889 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:52.998 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40085"] 13-Dec-2024 19:32:53.183 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40085"] 13-Dec-2024 19:32:53.184 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.205 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40085"] 13-Dec-2024 19:32:53.207 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40085"] 13-Dec-2024 19:32:53.213 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionInvalidPrefaceStart[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.215 INFO [Time-limited test] 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] 13-Dec-2024 19:32:53.216 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 13-Dec-2024 19:32:53.230 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.230 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.236 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41737"] 13-Dec-2024 19:32:53.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41737"] 13-Dec-2024 19:32:53.241 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.243 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41737"] 13-Dec-2024 19:32:53.244 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-41737"] 13-Dec-2024 19:32:53.248 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue01[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.250 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] 13-Dec-2024 19:32:53.250 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 13-Dec-2024 19:32:53.263 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.263 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.271 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42297"] 13-Dec-2024 19:32:53.281 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42297"] 13-Dec-2024 19:32:53.283 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.286 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42297"] 13-Dec-2024 19:32:53.288 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-42297"] 13-Dec-2024 19:32:53.292 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue02[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.294 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] 13-Dec-2024 19:32:53.295 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 13-Dec-2024 19:32:53.309 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.309 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.314 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40541"] 13-Dec-2024 19:32:53.322 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40541"] 13-Dec-2024 19:32:53.322 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.325 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40541"] 13-Dec-2024 19:32:53.326 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-40541"] 13-Dec-2024 19:32:53.330 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMissingConnectionValue[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.332 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] 13-Dec-2024 19:32:53.332 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 13-Dec-2024 19:32:53.340 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.340 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.349 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43911"] 13-Dec-2024 19:32:53.355 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43911"] 13-Dec-2024 19:32:53.356 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.358 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43911"] 13-Dec-2024 19:32:53.359 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43911"] 13-Dec-2024 19:32:53.362 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoHttp2Support[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.364 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 13-Dec-2024 19:32:53.398 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.398 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.403 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45341"] 13-Dec-2024 19:32:53.408 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45341"] 13-Dec-2024 19:32:53.409 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.411 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45341"] 13-Dec-2024 19:32:53.413 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45341"] 13-Dec-2024 19:32:53.416 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoPreface[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.419 INFO [Time-limited test] 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] 13-Dec-2024 19:32:53.420 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 13-Dec-2024 19:32:53.428 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.428 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.439 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45547"] 13-Dec-2024 19:32:53.443 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45547"] 13-Dec-2024 19:32:53.444 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.446 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45547"] 13-Dec-2024 19:32:53.447 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-45547"] 13-Dec-2024 19:32:53.450 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testZeroHttp2Settings[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.453 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] 13-Dec-2024 19:32:53.453 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 13-Dec-2024 19:32:53.459 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.459 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.467 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40063"] 13-Dec-2024 19:32:53.475 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40063"] 13-Dec-2024 19:32:53.476 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.478 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40063"] 13-Dec-2024 19:32:53.480 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-40063"] 13-Dec-2024 19:32:53.482 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionIncompletePrefaceStart[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.484 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-9"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.485 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"] 13-Dec-2024 19:32:53.487 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.487 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.492 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41689"] 13-Dec-2024 19:32:53.497 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41689"] 13-Dec-2024 19:32:53.499 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.501 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41689"] 13-Dec-2024 19:32:53.502 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-41689"] 13-Dec-2024 19:32:53.506 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMultipleHttp2Settings[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.508 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-10"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.509 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-10"] 13-Dec-2024 19:32:53.515 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.515 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34703"] 13-Dec-2024 19:32:53.530 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34703"] 13-Dec-2024 19:32:53.531 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.533 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34703"] 13-Dec-2024 19:32:53.534 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-10-34703"] 13-Dec-2024 19:32:53.537 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeWrongProtocol[0: loop [0], useAsyncIO[false]]] 13-Dec-2024 19:32:53.539 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-11"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.540 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-11"] 13-Dec-2024 19:32:53.543 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.543 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.547 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34669"] 13-Dec-2024 19:32:53.551 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34669"] 13-Dec-2024 19:32:53.551 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.553 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34669"] 13-Dec-2024 19:32:53.555 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-11-34669"] 13-Dec-2024 19:32:53.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeFirstResponse[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.560 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-12"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.561 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-12"] 13-Dec-2024 19:32:53.566 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.567 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.574 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-12-46499"] 13-Dec-2024 19:32:53.591 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-12-46499"] 13-Dec-2024 19:32:53.592 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.594 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-12-46499"] 13-Dec-2024 19:32:53.596 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-12-46499"] 13-Dec-2024 19:32:53.598 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionInvalidPrefaceStart[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.601 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-13"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.601 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-13"] 13-Dec-2024 19:32:53.613 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.613 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.624 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44967"] 13-Dec-2024 19:32:53.629 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44967"] Exception in thread "http-nio2-127.0.0.1-auto-13-exec-3" org.apache.coyote.ProtocolException: Invalid connection preface presented at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.callHandler(Http2AsyncParser.java:96) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1077) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1066) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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:840) 13-Dec-2024 19:32:53.631 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.634 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44967"] 13-Dec-2024 19:32:53.635 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-13-44967"] 13-Dec-2024 19:32:53.638 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue01[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.639 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-14"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.640 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-14"] 13-Dec-2024 19:32:53.645 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.645 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.652 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41689"] 13-Dec-2024 19:32:53.658 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41689"] 13-Dec-2024 19:32:53.661 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.663 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41689"] 13-Dec-2024 19:32:53.664 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-14-41689"] 13-Dec-2024 19:32:53.667 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSplitConnectionValue02[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.668 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-15"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.668 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-15"] 13-Dec-2024 19:32:53.674 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.674 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.678 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40195"] 13-Dec-2024 19:32:53.686 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40195"] 13-Dec-2024 19:32:53.686 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.688 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40195"] 13-Dec-2024 19:32:53.689 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-15-40195"] 13-Dec-2024 19:32:53.692 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMissingConnectionValue[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.696 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-16"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.696 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-16"] 13-Dec-2024 19:32:53.703 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.703 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.708 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-16-35911"] 13-Dec-2024 19:32:53.712 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-16-35911"] 13-Dec-2024 19:32:53.714 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-16-35911"] 13-Dec-2024 19:32:53.717 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-16-35911"] 13-Dec-2024 19:32:53.720 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoHttp2Support[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.721 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-17"] 13-Dec-2024 19:32:53.723 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.723 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.726 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-17-42489"] 13-Dec-2024 19:32:53.729 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-17-42489"] 13-Dec-2024 19:32:53.730 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.732 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-17-42489"] 13-Dec-2024 19:32:53.732 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-17-42489"] 13-Dec-2024 19:32:53.735 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionNoPreface[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.737 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-18"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.738 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-18"] 13-Dec-2024 19:32:53.740 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.740 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.742 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40771"] 13-Dec-2024 19:32:53.744 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40771"] 13-Dec-2024 19:32:53.745 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.746 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40771"] 13-Dec-2024 19:32:53.746 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-18-40771"] 13-Dec-2024 19:32:53.748 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testZeroHttp2Settings[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.750 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-19"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.750 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-19"] 13-Dec-2024 19:32:53.755 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.755 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.759 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-19-41481"] 13-Dec-2024 19:32:53.762 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-19-41481"] 13-Dec-2024 19:32:53.774 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.776 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-19-41481"] 13-Dec-2024 19:32:53.776 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-19-41481"] 13-Dec-2024 19:32:53.778 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionIncompletePrefaceStart[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.781 INFO [Time-limited test] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-20"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.782 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-20"] 13-Dec-2024 19:32:53.789 INFO [Time-limited test] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.789 INFO [Time-limited test] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.793 INFO [Time-limited test] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37039"] 13-Dec-2024 19:32:53.797 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37039"] 13-Dec-2024 19:32:53.799 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.801 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37039"] 13-Dec-2024 19:32:53.802 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-20-37039"] Exception in thread "http-nio2-127.0.0.1-auto-20-exec-3" org.apache.coyote.ProtocolException: Invalid connection preface presented at org.apache.coyote.http2.Http2AsyncParser$PrefaceCompletionHandler.callHandler(Http2AsyncParser.java:96) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1077) at org.apache.tomcat.util.net.SocketWrapperBase$VectoredIOCompletionHandler.completed(SocketWrapperBase.java:1066) at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129) at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:221) at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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:840) 13-Dec-2024 19:32:53.809 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMultipleHttp2Settings[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.810 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-21"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.811 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-21"] 13-Dec-2024 19:32:53.817 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.817 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.820 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-21-37021"] 13-Dec-2024 19:32:53.827 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-21-37021"] 13-Dec-2024 19:32:53.828 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.829 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-21-37021"] 13-Dec-2024 19:32:53.830 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-21-37021"] 13-Dec-2024 19:32:53.832 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testConnectionUpgradeWrongProtocol[1: loop [0], useAsyncIO[true]]] 13-Dec-2024 19:32:53.834 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio2-127.0.0.1-auto-22"] connector has been configured to support HTTP upgrade to [h2c] 13-Dec-2024 19:32:53.834 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-22"] 13-Dec-2024 19:32:53.839 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 13-Dec-2024 19:32:53.839 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.34-dev] 13-Dec-2024 19:32:53.842 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42767"] 13-Dec-2024 19:32:53.848 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42767"] 13-Dec-2024 19:32:53.849 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 13-Dec-2024 19:32:53.850 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42767"] 13-Dec-2024 19:32:53.851 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-22-42767"] ------------- ---------------- --------------- Testcase: testConnectionUpgradeFirstResponse[0: loop [0], useAsyncIO[false]] took 1.03 sec Testcase: testConnectionInvalidPrefaceStart[0: loop [0], useAsyncIO[false]] took 0.035 sec Testcase: testSplitConnectionValue01[0: loop [0], useAsyncIO[false]] took 0.045 sec Testcase: testSplitConnectionValue02[0: loop [0], useAsyncIO[false]] took 0.037 sec Testcase: testMissingConnectionValue[0: loop [0], useAsyncIO[false]] took 0.033 sec Testcase: testConnectionNoHttp2Support[0: loop [0], useAsyncIO[false]] took 0.054 sec Testcase: testConnectionNoPreface[0: loop [0], useAsyncIO[false]] took 0.034 sec Testcase: testZeroHttp2Settings[0: loop [0], useAsyncIO[false]] took 0.031 sec Testcase: testConnectionIncompletePrefaceStart[0: loop [0], useAsyncIO[false]] took 0.023 sec Testcase: testMultipleHttp2Settings[0: loop [0], useAsyncIO[false]] took 0.031 sec Testcase: testConnectionUpgradeWrongProtocol[0: loop [0], useAsyncIO[false]] took 0.02 sec Testcase: testConnectionUpgradeFirstResponse[1: loop [0], useAsyncIO[true]] took 0.04 sec Testcase: testConnectionInvalidPrefaceStart[1: loop [0], useAsyncIO[true]] took 0.039 sec Testcase: testSplitConnectionValue01[1: loop [0], useAsyncIO[true]] took 0.028 sec Testcase: testSplitConnectionValue02[1: loop [0], useAsyncIO[true]] took 0.025 sec Testcase: testMissingConnectionValue[1: loop [0], useAsyncIO[true]] took 0.028 sec Testcase: testConnectionNoHttp2Support[1: loop [0], useAsyncIO[true]] took 0.014 sec Testcase: testConnectionNoPreface[1: loop [0], useAsyncIO[true]] took 0.014 sec Testcase: testZeroHttp2Settings[1: loop [0], useAsyncIO[true]] took 0.03 sec Testcase: testConnectionIncompletePrefaceStart[1: loop [0], useAsyncIO[true]] took 0.03 sec Testcase: testMultipleHttp2Settings[1: loop [0], useAsyncIO[true]] took 0.023 sec Testcase: testConnectionUpgradeWrongProtocol[1: loop [0], useAsyncIO[true]] took 0.025 sec