fixes #65 - When changing the port number server do not prompt for restart

pull/702/head
Luke Pulverenti 12 years ago
parent de6acec504
commit 156453cc42

@ -355,12 +355,12 @@ namespace MediaBrowser.Server.Implementations.ServerManager
if (!string.Equals(HttpServer.UrlPrefix, _kernel.HttpServerUrlPrefix, StringComparison.OrdinalIgnoreCase))
{
ReloadHttpServer();
_applicationHost.NotifyPendingRestart();
}
if (!SupportsNativeWebSocket && ExternalWebSocketServer != null && ExternalWebSocketServer.Port != ConfigurationManager.Configuration.LegacyWebSocketPortNumber)
else if (!SupportsNativeWebSocket && ExternalWebSocketServer != null && ExternalWebSocketServer.Port != ConfigurationManager.Configuration.LegacyWebSocketPortNumber)
{
ReloadExternalWebSocketServer();
_applicationHost.NotifyPendingRestart();
}
}

Loading…
Cancel
Save