Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use a static key for ws endpoints [IMMUTANT-554]
The userProperties for the ServerEndpointConfig are global for the endpoint, not local for each connection, so we store the endpoint under the thread id instead of a static key. wunderboss reads it in onOpen, which will always be called on the same thread as modifyHandshake.
- Loading branch information
Showing
3 changed files
with
33 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters