فهرست منبع

Remove socket wrkaround

Shadowghost 2 سال پیش
والد
کامیت
1c6b6f5d36
1فایلهای تغییر یافته به همراه0 افزوده شده و 7 حذف شده
  1. 0 7
      Jellyfin.Server/Program.cs

+ 0 - 7
Jellyfin.Server/Program.cs

@@ -335,13 +335,6 @@ namespace Jellyfin.Server
                     if (startupConfig.UseUnixSocket() && Environment.OSVersion.Platform == PlatformID.Unix)
                     {
                         var socketPath = GetUnixSocketPath(startupConfig, appPaths);
-
-                        // Workaround for https://github.com/aspnet/AspNetCore/issues/14134
-                        if (File.Exists(socketPath))
-                        {
-                            File.Delete(socketPath);
-                        }
-
                         options.ListenUnixSocket(socketPath);
                         _logger.LogInformation("Kestrel listening to unix socket {SocketPath}", socketPath);
                     }