]> Cypherpunks repositories - gostls13.git/commit
os: only employ sendfile(3ext) on illumos when target is regular file
authorAndy Pan <i@andypan.me>
Wed, 14 Aug 2024 01:41:28 +0000 (09:41 +0800)
committerGopher Robot <gobot@golang.org>
Wed, 14 Aug 2024 18:36:17 +0000 (18:36 +0000)
commit866e260f92546e5bec910aa526756078eb1a6a0d
treefcb549733007ac3d68e738469d1c5526344650d7
parent1416cebdd54b4d96f6095db18002ae3f90f1f4c0
os: only employ sendfile(3ext) on illumos when target is regular file

Fixes #68863

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