Skip to content

Add support for configuring Tomcat connector maxPartCount and maxPartHeaderSize #45890

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
wants to merge 1 commit into from

Conversation

kwondh5217
Copy link
Contributor

@kwondh5217 kwondh5217 commented Jun 11, 2025

This PR addresses gh-45881.

  • Expose server.tomcat.max-part-count (default 10)
  • Expose server.tomcat.max-part-header-size (default 512B)
  • Bind in TomcatWebServerFactoryCustomizer
  • Add tests for custom and default values

…rt header size

See spring-projectsgh-45881

Signed-off-by: Daeho Kwon <trewq231@naver.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 11, 2025
@wilkinsona wilkinsona added status: waiting-for-triage An issue we've not yet triaged and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 17, 2025
@wilkinsona
Copy link
Member

Thanks for the PR, @kwondh5217, but we've decided that we need to make this change in 3.3.x and the proposed changes do not apply cleanly to that branch. There are also a number of test failures that need to be addressed. Thanks again for the PR, but we think it's better if we take things from here.

@wilkinsona wilkinsona closed this Jun 18, 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 18, 2025
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