The Free Software Media System - Server Backend & API
update HttpListenerHost
Luke Pulverentif8b8de13b752
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.csindex d7897f1659..64f498b124 100644--- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs+++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs@@ -64,7 +64,7 @@ namespace Emby.Server.Implementations.HttpServerIServerConfigurationManager config,string serviceName,string defaultRedirectPath, INetworkManager networkManager, IMemoryStreamFactory memoryStreamProvider, ITextEncoding textEncoding, ISocketFactory socketFactory, ICryptoProvider cryptoProvider, IJsonSerializer jsonSerializer, IXmlSerializer xmlSerializer, IEnvironmentInfo environment, ICertificate certificate, IStreamFactory streamFactory, Func<Type, Func<string, object>> funcParseFn)- : base(serviceName, new Assembly[] { })+ : base(serviceName){_appHost = applicationHost;DefaultRedirectPath = defaultRedirectPath;@@ -134,11 +134,11 @@ namespace Emby.Server.Implementations.HttpServerreturn _appHost.CreateInstance(type);}- protected override ServiceController CreateServiceController(params Assembly[] assembliesWithServices)+ protected override ServiceController CreateServiceController(){var types = _restServices.Select(r => r.GetType()).ToArray();- return new ServiceController(this, () => types);+ return new ServiceController(() => types);}public override ServiceStackHost Start(string listeningAtUrlBase)