]> Cypherpunks repositories - gostls13.git/commit
os: employ sendfile(2) for file-to-file copying on SunOS when needed
authorAndy Pan <i@andypan.me>
Tue, 6 Aug 2024 13:22:57 +0000 (21:22 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 12 Aug 2024 18:44:38 +0000 (18:44 +0000)
commit9819ac51dfc0593755f334a3eedec4edf04313bf
tree11411a1c01bce73a682abb87cac5eae011bdf7df
parent0b4ab20d2cb30279c11a31cc6bd9324b14a4a38e
os: employ sendfile(2) for file-to-file copying on SunOS when needed

Change-Id: Ia46de6c62707db9ef193fe1a2aabb18585f1dd48
Reviewed-on: https://go-review.googlesource.com/c/go/+/603098
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/internal/poll/sendfile_solaris.go
src/net/cgo_solaris.go
src/os/readfrom_linux_test.go
src/os/readfrom_solaris_test.go [new file with mode: 0644]
src/os/readfrom_unix_test.go [new file with mode: 0644]
src/os/writeto_linux_test.go
src/os/zero_copy_linux.go
src/os/zero_copy_posix.go [new file with mode: 0644]
src/os/zero_copy_solaris.go [new file with mode: 0644]
src/os/zero_copy_stub.go