I'm, working on a Java servlet which runs on a Tomcat 8.0.18 server and uses the JSR356 websocket API to communicate with a browser. By default Tomcat uses the "permessage-deflate" compression to compress the websocket messages in both directions. I want to use no websocket compression, how can it be turned off? I have tried to use the compression="off" option in the file server.xml but that didn't change anything. How can i turn it off?
相关问题
- Netty websocket client does not read new frames fr
- iOS (objective-c) compression_decode_buffer() retu
- Tomcat and SSL Client certificate
- Can't configure nginx as a proxy for tomcat wi
- Tomcat 8 how to remove sessionCookieName from URL
Please try to add jvm option
to catalina.bat (for windows) or catalina.sh (for unix like OS).
e.g. add this line at the beginning of catalina.sh
add this line at the beginning of catalina.bat