Remove socket wrkaround

pull/8147/head
Shadowghost 2 years ago
parent bdb1483167
commit 1c6b6f5d36

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

Loading…
Cancel
Save