aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs
diff options
context:
space:
mode:
authorClaus Vium <clausvium@gmail.com>2019-03-05 19:32:22 +0100
committerClaus Vium <clausvium@gmail.com>2019-03-05 19:32:22 +0100
commit9a4a01fb0e94d8ffbc00f5932f284f7faeb0ee69 (patch)
tree9c4d9f38c4823676a43dc4cd7663ea1a8a031339 /Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs
parentdf92df7bd63f9fd19ed195f668b45d52d6bd3abc (diff)
Fix DI in FileWriter.TransmitFile
Diffstat (limited to 'Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs')
-rw-r--r--Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs b/Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs
index 596410765..a7e3e6c70 100644
--- a/Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs
+++ b/Emby.Server.Implementations/SocketSharp/WebSocketSharpResponse.cs
@@ -78,8 +78,6 @@ namespace Emby.Server.Implementations.SocketSharp
const int StreamCopyToBufferSize = 81920;
public async Task TransmitFile(string path, long offset, long count, FileShareMode fileShareMode, IFileSystem fileSystem, IStreamHelper streamHelper, CancellationToken cancellationToken)
{
- // TODO
- // return _response.TransmitFile(path, offset, count, fileShareMode, cancellationToken);
var allowAsync = !RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
//if (count <= 0)