https://bz.apache.org/bugzilla/show_bug.cgi?id=64644

--- Comment #4 from Mark Thomas <ma...@apache.org> ---
This issue describes one particular drawback of the max idle timeout feature of
WebSocket sessions in the Java WebSocket spec.

I've been thinking about various WebSocket usage patterns and whether there was
a way to add a custom option that changed how this was treated. E.g. only
applied to reads, only applied to writes, etc.). My conclusion is that to cover
all possible use cases you need three idle timeouts:
- maxIdleTimeout (the current value)
- maxIdleReadTimeout
- maxIdleWriteTimeout

This is probably something that needs to be added to the Jakarta WebSocket 2.1
spec. I've created https://github.com/eclipse-ee4j/websocket-api/issues/356 to
track this

To address this in current Tomcat versions, I am thinking of a couple of custom
properties in the user properties Map associated with the session.

-- 
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