Tomcat embedded and maxPartCount setup

15 views
Skip to first unread message

André Santos

unread,
Oct 13, 2025, 5:04:14 PM (3 days ago) Oct 13
to Codehaus Cargo
Hi,
In one of our current projects, we are utilizing Tomcat 10.x, and we've encountered a limitation with the default maxPartCount value, which is currently hardcoded to 50 in the org.apache.catalina.connector.Connector.

This default is quite restrictive for our use case, and unfortunately, it is not currently configurable via plugin configuration.

We would like to request that a configurable property be introduced in a future release, allowing users to adjust the maxPartCount.

This would greatly enhance flexibility and allow applications with larger multipart form data to function without custom workarounds.

This is a simple solution for the issue : https://github.com/andre-santos-infoniqa/cargo/pull/1


Best regards.

S. Ali Tokmen

unread,
Oct 13, 2025, 5:08:55 PM (3 days ago) Oct 13
to codehau...@googlegroups.com

Hi André

That is a rather neat patch, if you also would add the new property in the configuration capability then it is even super 😉

Would you want yo create a PR into the master for it? We could then easily get it in.

Regards

S. Ali Tokmen
https://ali.tokmen.com/
https://contact.ali.tokmen.com/
--
Codehaus Cargo - https://codehaus-cargo.github.io/
---
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/codehaus-cargo/86129dd0-8152-42eb-8d0e-cba4ce773300n%40googlegroups.com.

André Santos

unread,
Oct 14, 2025, 5:43:05 AM (2 days ago) Oct 14
to Codehaus Cargo
Hi,
I already updated the code in order to receive the prop setting system properties.

this is the PR changed: https://github.com/andre-santos-infoniqa/cargo/pull/1

I don't have write access to your repo, that's why I forked, but, please, you can use my changes.


Best regards.

S. Ali Tokmen

unread,
Oct 14, 2025, 3:26:24 PM (2 days ago) Oct 14
to codehau...@googlegroups.com

André Santos

unread,
Oct 15, 2025, 1:34:45 AM (yesterday) Oct 15
to Codehaus Cargo
Hi,

Cool, thanks for the improvements too.

I use the plugin a lot, you did a great job, thank you very much.
I'll be waiting for the next version to be released.

Best regards,
André


S. Ali Tokmen

unread,
12:42 AM (15 hours ago) 12:42 AM
to codehau...@googlegroups.com

Hi André

Thanks for the nice words, and for your great contribution 🙂

The new version 1.10.24 is out, enjoy!

Reply all
Reply to author
Forward
0 new messages