]> Cypherpunks repositories - gostls13.git/commit
internal/poll: handle (0, EINVAL) return from sendfile on Solaris
authorDamien Neil <dneil@google.com>
Tue, 29 Oct 2024 17:31:23 +0000 (10:31 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 30 Oct 2024 19:53:06 +0000 (19:53 +0000)
commit0fd414c652f766e803d7a9b4f70daebd542dd6ab
tree4edb26a51851ff968b922daca10184c7af774df1
parent76a8409eb81eda553363783dcdd9d6224368ae0e
internal/poll: handle (0, EINVAL) return from sendfile on Solaris

Also check for GOOS=illumos as well as GOOS=solaris.

Change-Id: I887e6cddc1b8ad0f4624c9491e089c6bb8bce70e
Reviewed-on: https://go-review.googlesource.com/c/go/+/622977
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
src/internal/poll/sendfile_unix.go