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

#7880 retain resource service configuration #7881

Conversation

markslater
Copy link
Contributor

Added method for getting Boolean init parameters that returns null if not set.
Rewrote method for getting boolean or default init parameters to use Boolean init parameters method.
Used Boolean init parameter to identify when neither precompressed nor gzip init parameters have been set, and fall back to existing precompression formats from _resourceService.

@markslater markslater force-pushed the #7880_retain_resource_service_configuration branch from 80fa890 to 708553d Compare April 14, 2022 22:02
joakime
joakime previously approved these changes Apr 14, 2022
Copy link
Contributor

@joakime joakime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Straight forward enough for me.

Is this a problem in jetty-9.4.x as well?

@joakime joakime added the Bug For general bugs on Jetty side label Apr 14, 2022
@joakime joakime self-assigned this Apr 14, 2022
@joakime joakime added this to In progress in Jetty 10.0.10/11.0.10 - 🧊 FROZEN 🥶 via automation Apr 14, 2022
@joakime joakime moved this from In progress to Review in progress in Jetty 10.0.10/11.0.10 - 🧊 FROZEN 🥶 Apr 14, 2022
@joakime
Copy link
Contributor

joakime commented Apr 14, 2022

You have an NPE causing a 500 error in org.eclipse.jetty.servlet.DefaultServletTest.testCustomCompressionFormats with this PR.

See https://jenkins.webtide.net/blue/organizations/jenkins/jetty.project/detail/PR-7881/3/tests

@markslater
Copy link
Contributor Author

Uh, that was careless of me. I've pushed a fix.

@markslater
Copy link
Contributor Author

Is this a problem in jetty-9.4.x as well?

Yes

Jetty 10.0.10/11.0.10 - 🧊 FROZEN 🥶 automation moved this from Review in progress to Reviewer approved Apr 20, 2022
@joakime joakime merged commit b47d9c4 into jetty:jetty-10.0.x May 11, 2022
Jetty 10.0.10/11.0.10 - 🧊 FROZEN 🥶 automation moved this from Reviewer approved to Done May 11, 2022
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
No open projects
Development

Successfully merging this pull request may close these issues.

DefaultServlet should not overwrite programmatically configured precompressed formats with defaults
2 participants