aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/HttpServer
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-27 13:11:25 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-07-27 13:11:25 -0400
commit4f32b57e58b0568c7c0112146e87633c965efe88 (patch)
tree5975fc73f258a28b00776f093537bb8f703a9d94 /MediaBrowser.Server.Implementations/HttpServer
parent308233ceba2c1cd89678c91ab8f5ce2363c79e3d (diff)
update buffer sizes
Diffstat (limited to 'MediaBrowser.Server.Implementations/HttpServer')
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/RangeRequestWriter.cs3
-rw-r--r--MediaBrowser.Server.Implementations/HttpServer/StreamWriter.cs3
2 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Server.Implementations/HttpServer/RangeRequestWriter.cs b/MediaBrowser.Server.Implementations/HttpServer/RangeRequestWriter.cs
index 7ac92408b..71cd20743 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/RangeRequestWriter.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/RangeRequestWriter.cs
@@ -28,8 +28,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
public Action OnComplete { get; set; }
private readonly ILogger _logger;
- // 256k
- private const int BufferSize = 262144;
+ private const int BufferSize = 81920;
/// <summary>
/// The _options
diff --git a/MediaBrowser.Server.Implementations/HttpServer/StreamWriter.cs b/MediaBrowser.Server.Implementations/HttpServer/StreamWriter.cs
index f5906f6b7..ae408f8d6 100644
--- a/MediaBrowser.Server.Implementations/HttpServer/StreamWriter.cs
+++ b/MediaBrowser.Server.Implementations/HttpServer/StreamWriter.cs
@@ -75,8 +75,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
{
}
- // 256k
- private const int BufferSize = 262144;
+ private const int BufferSize = 81920;
/// <summary>
/// Writes to.