aboutsummaryrefslogtreecommitdiff
path: root/SocketHttpListener/Net/HttpResponseStream.Managed.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-25 09:00:14 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-05-25 09:00:14 -0400
commit28988b056ccc8efad54905b6f10ff0b9532c7130 (patch)
treee5ef1b92cf28b884bb03bbfd67112a25e48a4fe7 /SocketHttpListener/Net/HttpResponseStream.Managed.cs
parentd035d7eaec937b1ad43af6a95f723070c1e847ea (diff)
update stream copying
Diffstat (limited to 'SocketHttpListener/Net/HttpResponseStream.Managed.cs')
-rw-r--r--SocketHttpListener/Net/HttpResponseStream.Managed.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/SocketHttpListener/Net/HttpResponseStream.Managed.cs b/SocketHttpListener/Net/HttpResponseStream.Managed.cs
index 73c296580..d6bb2c04a 100644
--- a/SocketHttpListener/Net/HttpResponseStream.Managed.cs
+++ b/SocketHttpListener/Net/HttpResponseStream.Managed.cs
@@ -325,10 +325,7 @@ namespace SocketHttpListener.Net
}
}
- private bool EnableSendFileWithSocket
- {
- get { return false; }
- }
+ private bool EnableSendFileWithSocket = false;
public Task TransmitFile(string path, long offset, long count, FileShareMode fileShareMode, CancellationToken cancellationToken)
{