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

Create FileBufferedResponseHandler to buffer responses into a file. #6194

Merged

Conversation

lachlan-roberts
Copy link
Contributor

Merge of #6010 back to 9.4.x

…6010)

FileBufferedResponseHandler adds an HttpOutput.Interceptor to buffer all responses into a file until the output is closed. This allows the commit to be delayed until the response is complete and thus headers and response status can be changed while writing the body.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
@lachlan-roberts lachlan-roberts merged commit a4124b4 into jetty-9.4.x Apr 21, 2021
@lachlan-roberts lachlan-roberts added this to In progress in Jetty 9.4.41 via automation Apr 21, 2021
@lachlan-roberts lachlan-roberts moved this from In progress to Done in Jetty 9.4.41 Apr 21, 2021
@lachlan-roberts lachlan-roberts deleted the jetty-9.4.x-FileBufferedResponseHandler branch April 21, 2021 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants