-
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
Ensure a redirect of the HttpServletResponse will close HttpOutput #12633
Ensure a redirect of the HttpServletResponse will close HttpOutput #12633
Conversation
Signed-off-by: Lachlan Roberts <[email protected]>
...ee10/jetty-ee10-servlet/src/main/java/org/eclipse/jetty/ee10/servlet/ServletApiResponse.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Lachlan Roberts <[email protected]>
@gregw please re-review |
What are the chances this makes the next release? Also, @lachlan-roberts, how soon after release will this make it into App Engine? |
@MuffinTheMan This will make it into the next release of After this is released I will update GAE to You could build Jetty and GAE yourself and deploy your application with this fix if you need it earlier. |
Signed-off-by: Lachlan Roberts <[email protected]>
Checking in since it's been a couple months since the most recent release--when is |
The release should be this week |
In the GAE issue GoogleCloudPlatform/appengine-java-standard#321, a redirect is being done from a JSP file with non-empty content.
In Jetty 9.4 and EE8 we would close the
HttpOutput
during the call tosendRedirect
, and so any further content that is tried to send should throwIOException
.