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

CAMEL-20152: camel-jetty - Fix a file size threshold #12255

Merged

Conversation

essobedo
Copy link
Contributor

Fixes https://issues.apache.org/jira/browse/CAMEL-20152 for 3.20

Motivation

In the case of multipart, the content is kept in memory which can lead to an OOME, it is due to the fact that the fileSizeThreshold is set to 0 by default which should mean that the content is stored on disk according to the Jakarta Javadoc but it is not what the Jetty code expects.

Modifications:

  • Set the default file size threshold to 10 MB by default

Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

⚠️ Please note that the changes on this PR may be tested automatically.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

@essobedo essobedo force-pushed the CAMEL-20152/jetty-add-file-size-threshold-3.20 branch from 629613e to 6a07395 Compare November 29, 2023 11:39
@essobedo essobedo merged commit 9127e86 into camel-3.20.x Nov 29, 2023
4 checks passed
@essobedo essobedo deleted the CAMEL-20152/jetty-add-file-size-threshold-3.20 branch November 29, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants