aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-06-01 03:57:22 -0400
committerGitHub <noreply@github.com>2017-06-01 03:57:22 -0400
commit442d4e669969558256cf16f01a4018292609ba05 (patch)
tree82131b8028197a4f5de7b7d3ce40fe61aa60da6a /SocketHttpListener/Net
parent1f5e51b6338096ef6f119802ea595c2cc30daf8e (diff)
parentb54b7871e39e197d4af19a6c502938fa6178c4fa (diff)
Merge pull request #2685 from MediaBrowser/beta
Beta
Diffstat (limited to 'SocketHttpListener/Net')
-rw-r--r--SocketHttpListener/Net/HttpResponseStream.Managed.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/SocketHttpListener/Net/HttpResponseStream.Managed.cs b/SocketHttpListener/Net/HttpResponseStream.Managed.cs
index 2f580a104..42db03e47 100644
--- a/SocketHttpListener/Net/HttpResponseStream.Managed.cs
+++ b/SocketHttpListener/Net/HttpResponseStream.Managed.cs
@@ -357,9 +357,7 @@ namespace SocketHttpListener.Net
// allowAsync = true;
//}
- var fileOpenOptions = offset > 0
- ? FileOpenOptions.RandomAccess
- : FileOpenOptions.SequentialScan;
+ var fileOpenOptions = FileOpenOptions.SequentialScan;
if (allowAsync)
{