Skip to content

Support configuring WebSocket message buffer size [SPR-11575] #16199

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-11575 and commented

As explained in #16152, stomp.js and the Dart STOMP client split messages larger than 16K. #16152 will ensure support for re-assembling such messages on the server side with a configurable buffer size.

However, Tomcat's default WebSocket message buffer size is 8K (Jetty is 64K), which means the support for large messages still won't work unless Tomcat is configured for 16K. Therefore when using the Spring Framework STOMP over WebSocket support, 16K would be a better default to be auto-configured in the Java config and XML namespace.


Affects: 4.0.2

Issue Links:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions