update file options

This commit is contained in:
Luke Pulverenti 2017-06-01 00:51:16 -04:00
parent b9935a4643
commit 5b12e9fa33

View File

@ -357,9 +357,7 @@ namespace SocketHttpListener.Net
// allowAsync = true;
//}
var fileOpenOptions = offset > 0
? FileOpenOptions.RandomAccess
: FileOpenOptions.SequentialScan;
var fileOpenOptions = FileOpenOptions.SequentialScan;
if (allowAsync)
{