Skip to content

Expose Tomcat response output stream buffer size as a configuration property #49323

@dsyer

Description

@dsyer

After some recent changes in Spring MVC (7.0.6) Tomcat will write the content-length header for us if we write a response body that fits in its output stream buffer. The default size is 8192 bytes, which is completely arbitrary, and some applications (where they often return JSON results slightly larger than that, for instance) would benefit from being able to change the value.

Jetty behaves the same way, and it probably has the same opportunity to configure the buffer size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: blockedAn issue that's blocked on an external project changetype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions