Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] Websocket: deadlock on authentication failure
This was due to the fact that server sends a websocket CLOSE protocol, to which the library tried to respond to, but since it was done during the "connect" handshake under the connection lock, this caused a deadlock. Resolves #925 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
3 changed files
with
60 additions
and
11 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