]> Cypherpunks repositories - gostls13.git/commit
os: only employ sendfile(3ext) on illumos when target is regular file
authorAndy Pan <i@andypan.me>
Fri, 16 Aug 2024 03:42:25 +0000 (11:42 +0800)
committerGopher Robot <gobot@golang.org>
Fri, 16 Aug 2024 23:34:45 +0000 (23:34 +0000)
commit96ef6abcca2f3ba43ae822d5a6e46fc02092e0a3
tree8ff30b5a25406232d6f2dd96b405491882d1819c
parentaa5d672a00f5bf64865d0e821623ed29bc416405
os: only employ sendfile(3ext) on illumos when target is regular file

Follows up CL 605355
Fixes #68863

Change-Id: I56e05822502e66eed610d5e924d110607ce146b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/606135
Reviewed-by: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Andy Pan <panjf2000@gmail.com>
src/os/readfrom_unix_test.go
src/os/zero_copy_solaris.go