Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 12.0.x ee9 serverpush tck #9902

Merged
merged 5 commits into from
Jun 14, 2023

Conversation

janbartel
Copy link
Contributor

Fix the remaining ee9 serverpush tck errors as per #9760

janbartel and others added 4 commits June 9, 2023 11:13
Before, the EOF frame was not added to the HTTP2Stream queue.
When the pushed request was completing it tried to consume the available content, but it was not finding EOF and so was emitting a reset frame, causing the TCK failure.

Now the EOF frame is always added to the HTTP2Stream queue, so it is properly consumed when completing the pushed request.

Signed-off-by: Simone Bordet <[email protected]>
@janbartel janbartel added Bug For general bugs on Jetty side TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc) labels Jun 12, 2023
@janbartel janbartel requested a review from olamy June 12, 2023 14:56
@olamy
Copy link
Member

olamy commented Jun 13, 2023

good fix for TCK (tested locally and it looks you tested on CI as well)
but there is now a test failure.

@janbartel
Copy link
Contributor Author

@lorban could you take a look at this? Simone has made a relatively simple change in Http2Stream, but there are now 2 http2 tests failing. The fix may be as simple as changing the CountdownLatch from 2 to 1, but as you know more about the guts of http2/3 than me, I'd like you to take a look and see if that is reasonable or not.

Signed-off-by: Ludovic Orban <[email protected]>
@lorban
Copy link
Contributor

lorban commented Jun 13, 2023

Committed a change to fix H2 trailers that the H2 push fix broke.

@janbartel janbartel merged commit 4e316db into jetty-12.0.x Jun 14, 2023
@joakime joakime deleted the jetty-12.0.x-ee9-serverpush-tck branch August 7, 2023 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side TCK For various Specification Test Compatibility Kits (eg: Servlet, WebSocket, HTTP/2, etc)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants