From ecc6df0b710d0a522b769b4744ec45ea9ed1d35b Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 8 Mar 2015 20:04:06 -0400 Subject: [PATCH] fix missing file --- .../HttpServer/SocketSharp/WebSocketSharpListener.cs | 1 + MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs index a223cf68d..534d6aff1 100644 --- a/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs +++ b/MediaBrowser.Server.Implementations/HttpServer/SocketSharp/WebSocketSharpListener.cs @@ -154,6 +154,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp else { _logger.Warn("Web socket connection not allowed"); + ctx.Response.StatusCode = 401; ctx.Response.Close(); } } diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index cc62af5c6..c02eb5848 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -144,7 +144,9 @@ PreserveNewest - + + PreserveNewest + PreserveNewest