jetty.project
jetty.project copied to clipboard
Eclipse Jetty® - Web Container & Clients - supports HTTP/2, HTTP/1.1, HTTP/1.0, websocket, servlets, and more
**Jetty version(s)** 12.0.x **Jetty Environment** EE9 **Description** `org.eclipse.jetty.ee9.websocket.tests.SuspendResumeTest.testTimeoutWhileSuspended()` sometimes fails with: ``` java.lang.AssertionError: Expected: but: was at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6) at org.eclipse.jetty.ee9.websocket.tests.SuspendResumeTest.testTimeoutWhileSuspended(SuspendResumeTest.java:246) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:194) at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)...
**Jetty version(s)** 12.0.x **Description** `org.eclipse.jetty.server.ssl.ServerConnectorSslServerTest.testSimplePOST()` sometimes fails with: ``` Server Leaks: Buffer@69c24a2 of 16709 bytes on 2024-04-24T13:48:56.656262862Z wrapping Buffer@1c0cf92d[rc=1,HeapByteBuffer@21a936ee[p=0,l=40,c=20480,r=40]={z\x83\xA7.\x87J\x9d\x83\xF6...\x00\x00\x00\x00\x00\x00\x00}] acquired at java.lang.Throwable at [email protected]/org.eclipse.jetty.io.ArrayByteBufferPool$Tracking$Buffer.(ArrayByteBufferPool.java:711) at [email protected]/org.eclipse.jetty.io.ArrayByteBufferPool$Tracking.acquire(ArrayByteBufferPool.java:678) at [email protected]/org.eclipse.jetty.io.ssl.SslConnection.acquireEncryptedOutput(SslConnection.java:338) at [email protected]/org.eclipse.jetty.io.ssl.SslConnection$SslEndPoint.flush(SslConnection.java:1096)...
Signed-off-by: Olivier Lamy
* Introduces Context.Wrapper * Introduces PathMappingsHandler.PathSpecRequest (wrapper, with custom Context) Fixes: #11494
**Jetty version(s)** 12.0.x **Description** `HttpClientStreamTest.testUploadWithPendingReadConcurrentServerCloseClosesStream(Transport)[3] H2C` sometimes fails with: ``` org.opentest4j.AssertionFailedError: expected: but was: at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151) at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132) at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36) at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31) at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183) at org.eclipse.jetty.test.client.transport.HttpClientStreamTest.testUploadWithPendingReadConcurrentServerCloseClosesStream(HttpClientStreamTest.java:1152) ``` See:...
**Jetty version(s)** 12 **Jetty Environment** all **Description** We have many distribution tests that do something like: ```java assertTrue(run3.awaitConsoleLogsFor("Started oejs.Server@", START_TIMEOUT, TimeUnit.SECONDS)); ContentResponse response = client.GET("http://localhost:" + port + "/test/sometest.txt"); ```...
**Jetty version(s)** 12.0.7 **Jetty Environment** jetty12-only **Java version/vendor** `(use: java -version)` ``` $ java -version openjdk version "17.0.7" 2023-04-18 LTS OpenJDK Runtime Environment Corretto-17.0.7.7.1 (build 17.0.7+7-LTS) OpenJDK 64-Bit Server VM...
With below error:  add modules: java -jar $JETTY_HOME/start.jar --add-modules=http,ee10-deploy,ee10-webapp start command: java -jar $JETTY_HOME/start.jar demo.xml: /demo /demo.war /work/demo false
Ensure that using the polyglot graalvm is easy to do (see #3087).