-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hello,The tomcat websocket limit buffer size 8kb, How to adjust, using the following configuration is invalid.
@Override
void configureWebSocketTransport(WebSocketTransportRegistration registration) {
registration.setMessageSizeLimit(64 * 1024);
}@Configuration
public class MyServerContainerConfigurer{
@Bean
public ServletServerContainerFactoryBean createWebSocketContainer() {
ServletServerContainerFactoryBean container = new ServletServerContainerFactoryBean();
container.setMaxTextMessageBufferSize(64*1024);
container.setMaxBinaryMessageBufferSize(64*1024);
return container;
}
}Metadata
Metadata
Assignees
Labels
No labels