aboutsummaryrefslogtreecommitdiff
path: root/src/net/sendfile_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sendfile_windows.go')
-rw-r--r--src/net/sendfile_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/sendfile_windows.go b/src/net/sendfile_windows.go
index 59b1b0d5c1..0377a485da 100644
--- a/src/net/sendfile_windows.go
+++ b/src/net/sendfile_windows.go
@@ -11,6 +11,8 @@ import (
"syscall"
)
+const supportsSendfile = true
+
// sendFile copies the contents of r to c using the TransmitFile
// system call to minimize copies.
//