Luke Pulverenti 8 년 전
부모
커밋
f1b1458ee8
3개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      Emby.Server.Implementations/HttpServer/FileWriter.cs
  2. 1 1
      SharedVersion.cs
  3. 1 1
      SocketHttpListener.Portable/Net/ResponseStream.cs

+ 1 - 1
Emby.Server.Implementations/HttpServer/FileWriter.cs

@@ -160,7 +160,7 @@ namespace Emby.Server.Implementations.HttpServer
                     return;
                 }
 
-                await response.TransmitFile(Path, RangeStart, RangeEnd, FileShare, cancellationToken).ConfigureAwait(false);
+                await response.TransmitFile(Path, RangeStart, RangeLength, FileShare, cancellationToken).ConfigureAwait(false);
             }
             finally
             {

+ 1 - 1
SharedVersion.cs

@@ -1,3 +1,3 @@
 using System.Reflection;
 
-[assembly: AssemblyVersion("3.2.8.5")]
+[assembly: AssemblyVersion("3.2.8.6")]

+ 1 - 1
SocketHttpListener.Portable/Net/ResponseStream.cs

@@ -363,7 +363,7 @@ namespace SocketHttpListener.Net
             }
         }
 
-        private async Task CopyToInternalAsync(Stream source, Stream destination, long copyLength, CancellationToken cancellationToken)
+        private static async Task CopyToInternalAsync(Stream source, Stream destination, long copyLength, CancellationToken cancellationToken)
         {
             var array = new byte[81920];
             int count;