update file options

pull/1154/head
Luke Pulverenti 7 years ago
parent b9935a4643
commit 5b12e9fa33

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

Loading…
Cancel
Save