diff options
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs index ae4d91148..a40dff5a4 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/NativeWebSocket.cs @@ -120,7 +120,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer var result = await WebSocket.ReceiveAsync(buffer, cancellationToken).ConfigureAwait(false); - if (result.CloseStatus.HasValue && result.CloseStatus.Value != WebSocketCloseStatus.Empty) + if (result.CloseStatus.HasValue) { _logger.Info("Web socket connection closed by client. Reason: {0}", result.CloseStatus.Value); return null; |
