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

Port ee9 BlockingTest to ee10/11 #12635

Open
wants to merge 9 commits into
base: jetty-12.1.x
Choose a base branch
from

Conversation

lorban
Copy link
Contributor

@lorban lorban commented Dec 12, 2024

Porting ee9 BlockingTest to ee10/11 seems to have uncovered some bugs.

There are still some bugs in ee9 too, uncovered by the new testBlockingCloseWhileReading test:

  1. asyncContext.complete() throws after the connection was closed by the client. Historically, this test tolerated these exceptions though.
  2. outputStream.close() sometimes throws java.lang.IllegalArgumentException: newPosition > limit: (9 > 0) which tend to indicate a buffer use after release.

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
@lorban lorban added Bug For general bugs on Jetty side Test labels Dec 12, 2024
@lorban lorban requested review from gregw and sbordet December 12, 2024 15:11
@lorban lorban self-assigned this Dec 12, 2024
@lorban lorban changed the title Port ee9 BlockingTest to ee10 and ee11 Port ee9 BlockingTest to ee10/11 Dec 12, 2024
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This reverts commit b6a7854.
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
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 Test
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

1 participant