Remove socket wrkaround

This commit is contained in:
Shadowghost 2022-07-20 07:42:52 +02:00
parent bdb1483167
commit 1c6b6f5d36
1 changed files with 0 additions and 7 deletions

View File

@ -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);
}