Skip to content

Align default value of maxParameterCount with Tomcat (1000) #45888

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

Closed

Conversation

wonyongg
Copy link
Contributor

This PR updates the default value of maxParameterCount in ServerProperties.Tomcat from 10000 to 1000 to align with the default value used in Tomcat.

See: Tomcat source

If the current value was set to 10000 intentionally, please feel free to close this PR. Just wanted to flag the discrepancy in case it was unintentional.

If the current value is indeed intentional and you feel it would be helpful to clarify this in the JavaDoc, I’d be happy to submit a follow-up PR for that as well.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 11, 2025
@wilkinsona
Copy link
Member

You've linked to the documented for Tomcat 11 where the default was lowered. Tomcat 10.1's default is 10000. We also have a test that ensures that Tomcat's default and Boot's property default are aligned.

@wilkinsona wilkinsona closed this Jun 12, 2025
@wilkinsona wilkinsona added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 12, 2025
@wonyongg
Copy link
Contributor Author

@wilkinsona
Thanks for the explanation! Makes sense now 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants