This commit is contained in:
Luke Pulverenti 2017-03-20 13:56:44 -04:00
parent 5b3b18b51d
commit f1b1458ee8
3 changed files with 3 additions and 3 deletions

View file

@ -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
{

View file

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

View file

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