-
-
Notifications
You must be signed in to change notification settings - Fork 753
Description
Hello guys, I am trying to find a solution for compression websocket messages, if you can help, it will be very nice
- atmosphere version 2.7.6
- atmosphere.js 3.1.3
I want to find a way to compress messages I have in Json formats, cause they are huge,
For investigating I used meteor-chat sample and spring-boot-chat-atmosphere-sample
I found an issue about this with a link https://github.com/Atmosphere/atmosphere/issues/2039/ and did all thing to implement the compression, but as I understand it didn't work. For example, I tried to add some JSR356 support to web.xml in meteor-chat sample or init parameters to the ServletRegistrationBean in spring-boot-sample, changed configuration in domain.xml for payara5(glassfish5) and server.xml in tomcat9 to change settings of the ServletContainer. Tried to do the compression explicitly with the GZipOutputStream but I couldn't get the response from the server in a client side. I tried to add some headers to the response of websocket request like Sec-Websocket-Extensions: permessage-deflate, but in the end I couldn't add this header manually.
- for testing except chrome browser I also use wireshark
- java 1.8 from amazon
- Server name Tomcat9, Payara5