Creating clone of the BZ to not loose tracking that this should also be fixed for APR connector. +++ This bug was initially created as a clone of Bug #1104139 +++ Description of problem: My understanding is that there is no ways to change the default timeout of 20 seconds in the current implementation. This is extremely short. Apache Tomcat WebSocket specification provides a way to do this by setting the property org.apache.tomcat.websocket.BLOCKING_SEND_TIMEOUT in the user properties collection attached to the WebSocket session. It also allows for other configurations, such as binary buffer size and text buffer size. More information about configuration options is located in the following locations: http://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html http://tomcat.apache.org/tomcat-8.0-doc/web-socket-howto.html Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: --- Additional comment from Rémy Maucherat on 2014-06-03 08:18:14 EDT --- Tomcat uses an infinite timeout for upgraded connections, so trying that for NIO2 (APR is more complex for timeout and I cannot immediately do it). r2441
After reviewing, trying r2454 to duplicate the new NIO2 behavior.
Issue is still valid for EAP 6.3.0.ER10.
Same as BZ1104139, this should not be related to the connector, the FutureToSendHandler timeout occurs in the websocket implementation.