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: ISE thrown when server stopping with suspended request #11078

Open
sbordet opened this issue Dec 17, 2023 · 1 comment
Open

Jetty 12: ISE thrown when server stopping with suspended request #11078

sbordet opened this issue Dec 17, 2023 · 1 comment
Assignees
Labels
Bug For general bugs on Jetty side

Comments

@sbordet
Copy link
Contributor

sbordet commented Dec 17, 2023

Jetty version(s)
12+

Jetty Environment
ee10

Description
Similar to #11016, the server throws ISE if an application is trying to send a response from Servlet.destroy(), but rather than using response.sendError(), it just normally set the status code via response.setStatus().

@sbordet sbordet added the Bug For general bugs on Jetty side label Dec 17, 2023
@gregw
Copy link
Contributor

gregw commented Dec 17, 2023

Note that in discussions with the servlet EG, it was not felt that it is necessary to support responses being able to be sent from destroy. We can still support that, but it is not required by the spec group.

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
Projects
Status: No status
Development

No branches or pull requests

2 participants