mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
create http listener abstraction
This commit is contained in:
@@ -851,7 +851,7 @@ namespace MediaBrowser.ServerApplication
|
||||
{
|
||||
try
|
||||
{
|
||||
ServerManager.Start(HttpServerUrlPrefixes, ServerConfigurationManager.Configuration.EnableHttpLevelLogging);
|
||||
ServerManager.Start(HttpServerUrlPrefixes);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -881,8 +881,6 @@ namespace MediaBrowser.ServerApplication
|
||||
{
|
||||
base.OnConfigurationUpdated(sender, e);
|
||||
|
||||
HttpServer.EnableHttpRequestLogging = ServerConfigurationManager.Configuration.EnableHttpLevelLogging;
|
||||
|
||||
if (!HttpServer.UrlPrefixes.SequenceEqual(HttpServerUrlPrefixes, StringComparer.OrdinalIgnoreCase))
|
||||
{
|
||||
NotifyPendingRestart();
|
||||
|
||||
Reference in New Issue
Block a user