-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change send_message() behavior when close handshake is in progress
send_message() is changed to raise ConnectionClosed when a close handshake is in progress. Previously it would silently ignore the call, which was an oversight, given that ConnectionClosed is defined to cover connections "closed or in the process of closing". Significantly, this fixes send_message() leaking a wsproto exception (LocalProtocolError) with wsproto >= 1.22.0. Fixes #175.
- Loading branch information
Showing
2 changed files
with
6 additions
and
9 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