-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix intermittent OperationCancelledException on closing websocket con…
…nection (#177) * fix build. * fix intermittent OperationCancelledException on closing websocket connection. * always close connection after RunAsync has finished. * Make sure token is not created multiple times as ObjectDisposedException could throw. * added ConnectionId to log messages. * do not forcefully close connection unless exception is caught. * capture any exception on CloseAsync. * Some corrections to OWIN/System.WebSockets implementation Code format Removed IsConnected property Code formatting Use CancellationToken.None Fixing if Checking for multiple disposes in AsyncWampConnection, checking for cancellation requests in WebSocketWrapperConnection
- Loading branch information
1 parent
13c9e63
commit 2bee21b
Showing
6 changed files
with
151 additions
and
58 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
5 changes: 4 additions & 1 deletion
5
src/net45/Extensions/WampSharp.Owin/WampSharp.Owin.project.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
{ | ||
{ | ||
"frameworks": { | ||
"net45": {} | ||
}, | ||
"runtimes": { | ||
"win": {} | ||
}, | ||
"dependencies": { | ||
"Microsoft.Owin": "3.0.1" | ||
} | ||
} |
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