diff options
| author | cvium <clausvium@gmail.com> | 2021-09-11 14:09:22 +0200 |
|---|---|---|
| committer | cvium <clausvium@gmail.com> | 2021-09-11 14:09:22 +0200 |
| commit | e34aa22dc10188e32ad29e9b29a77d46473f9932 (patch) | |
| tree | 4604f15d4506f1f5aa3986f28fdcb898f7ef3a90 | |
| parent | 794b73c62d7f9e5a962dc6031e7772c1a644aae9 (diff) | |
Remove AsyncFile.OpenRead
| -rw-r--r-- | Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs index 93bd2c1ba..917384cc3 100644 --- a/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs +++ b/Jellyfin.Server/Infrastructure/SymlinkFollowingPhysicalFileResultExecutor.cs @@ -55,7 +55,7 @@ namespace Jellyfin.Server.Infrastructure // This may or may not be fixed in .NET 6, but looks like it will not https://github.com/dotnet/aspnetcore/issues/34371 if ((fileInfo.Attributes & FileAttributes.ReparsePoint) == FileAttributes.ReparsePoint) { - using Stream thisFileStream = AsyncFile.OpenRead(path); + using Stream thisFileStream = File.OpenRead(path); length = thisFileStream.Length; } |
