-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ServletChannel now using proper state changes for calls to ErrorHandler to avoid IllegalStateExceptions #10384
Labels
Bug
For general bugs on Jetty side
Comments
sbordet
added a commit
that referenced
this issue
Nov 27, 2023
…est. Reworked the ServletChannel.handle() SEND_ERROR case. Now using the proper state changes to call ErrorHandler.handle(), which is asynchronous, so that IllegalStateExceptions are avoided. Restored idle timeout tests in ee9/ee10 AsyncMiddleManServletTest. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
sbordet
added a commit
that referenced
this issue
Nov 29, 2023
…s to ErrorHandler to avoid IllegalStateExceptions (#10930) Reworked the ServletChannel.handle() SEND_ERROR case. Now using the proper state changes to call ErrorHandler.handle(), which is asynchronous, so that IllegalStateExceptions are avoided. Restored idle timeout tests in ee9/ee10 AsyncMiddleManServletTest. Fixed notification of request destroyed in ErrorHandler: must be before completing the callback, since listener may call Servlet APIs that should see the ServletChannel state before the ErrorHandler callback changes it. Updated ServletChannelState.isAsync() and isAsyncStarted(). Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
Fixed by #10930. |
github-project-automation
bot
moved this from 🏗 In progress
to ✅ Done
in Jetty 12.0.4 - FROZEN
Nov 29, 2023
joakime
changed the title
Unsuppressed exceptions in EE10 AsyncMiddleManServletTest
ServletChannel now using proper state changes for calls to ErrorHandler to avoid IllegalStateExceptions
Nov 30, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jetty version(s)
12
Jetty Environment
ee10
Description
[INFO] Running org.eclipse.jetty.ee10.proxy.AsyncMiddleManServletTest
https://jenkins.webtide.net/blue/rest/organizations/jenkins/pipelines/jetty.project/branches/jetty-12.0.x/runs/1451
The text was updated successfully, but these errors were encountered: