-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More correct web socket close Promise handling
A recent commit forced processing of messages sent to the web socket handler to happen asynchronously, to avoid deadlocks when an `await` of the message body would prevent incoming frames to be processed in multi-frame messages. Unfortunately, that could cause the close Promise to be kept before all message processing was done. This change makes sure that won't happen.
- Loading branch information
Showing
1 changed file
with
28 additions
and
14 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