https://issues.apache.org/bugzilla/show_bug.cgi?id=56187

            Bug ID: 56187
           Summary: Websocket text message limit does not change from
                    default 8192.
           Product: Tomcat 7
           Version: 7.0.52
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: 05.shail...@gmail.com

Hi,

I tried to increase the text message buffer from default value of 8192 by
adding context parameter in web.xml of my application as follows,

<context-param>
       <param-name>org.apache.tomcat.websocket.textBufferSize</param-name>
       <param-value>32768</param-value>
</context-param>

<context-param>
       <param-name>org.apache.tomcat.websocket.binaryBufferSize</param-name>
       <param-value>32768</param-value>
</context-param>

but even after that it does not change and payload of size greater than 8192
bytes is cut and sent in separate frame. 

I am using Atmosphere library 1.0.18 for server event push but because of the
tomcat max. buffer size, it is not able to send large payload, causing to go
away from websocket and use long polling.


Thanks,
Shailesh

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to