-
Bug
-
Resolution: Done
-
Major
-
1.1.Beta3
-
-
Documentation (Ref Guide, User Guide, etc.), User Experience
-
High
Using io.undertow.websockets.core.Websockets.send*() methods is thread unsafe.
My guess would be it's some race with suspend/resumeWrites() calls.
If Websockets API calls must be externally synchronized it should be stated clearly at least in javadoc. I hope it's not so, as it would force us to use thread-per-client just for websockets writes.