forked from dotnet/corefx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure ManagedWebSocket.CloseOutputAsync closes the underlying stream (…
…dotnet#33473) * Ensure CloseOutputAsync closes the underlying stream When we issue a close, we then wait for the response close message, and after receiving it, dispose of the web socket instance, which then closes the stream. We don't currently do the same when sending a close frame having already received a close frame, but we should. * Address PR feedback And fix break on netfx where ArraySegment doesn't have an implicit cast from byte[].
- Loading branch information
1 parent
2fc6c81
commit b70ebe3
Showing
4 changed files
with
149 additions
and
56 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
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