You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This test sends an http/2 request to the server to create a session and push the index.html page back to the client. The test fails during the handling of pb.push() by never returning to the client.
This test sends an http/2 request to the server, which creates a session plus some extra cookies and pushes the response back to the client. The test never finishes somewhere inside the handling of the pb.push() call.
The text was updated successfully, but these errors were encountered:
janbartel
added
Bug
For general bugs on Jetty side
TCK
For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)
Jetty 12
labels
May 12, 2023
@janbartel the second looks like a broken test to me.
Given that the client does not send any cookie, the server should just push index.html with no cookies, so I'm not sure what's going on (as other simple pushes do not block like you report).
* Restored dispatch=true for pushed requests.
* Restored tests that use the Servlet APIs to push.
* Ensured that pushed streams have request content EOF.
Signed-off-by: Simone Bordet <[email protected]>
* Restored dispatch=true for pushed requests.
* Restored tests that use the Servlet APIs to push.
* Ensured that pushed streams have request content EOF.
Signed-off-by: Simone Bordet <[email protected]>
Tck test: com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushSessionTest2
This test sends an http/2 request to the server to create a session and push the index.html page back to the client. The test fails during the handling of
pb.push()
by never returning to the client.There is one related
TODO
in the code: https://github.com/eclipse/jetty.project/blob/jetty-12.0.x/jetty-ee9/jetty-ee9-nested/src/main/java/org/eclipse/jetty/ee9/nested/PushBuilderImpl.java#L177The client code looks like:
The server code looks like:
Tck test: com/sun/ts/tests/servlet/spec/serverpush/Client.java.serverPushCookieTest
This test sends an http/2 request to the server, which creates a session plus some extra cookies and pushes the response back to the client. The test never finishes somewhere inside the handling of the
pb.push()
call.The client code looks like:
The server code looks like:
The text was updated successfully, but these errors were encountered: