Commit 029dfbcc authored by Cherry Mui's avatar Cherry Mui
Browse files

net: do not use sendfile on iOS

Apparently, on the iOS builder sendfile causes a SIGSYS signal
(instead of returning ENOSYS). Disabling it for now so we can
make progress on iOS. We can revisit if sendfile is actually
broken on iOS and whether it is beneficial.

Updates #49616.

Change-Id: I3883fad0ce35e3f0aa352301eb499a1afa0225a1
Reviewed-on: https://go-review.googlesource.com/c/go/+/368054


Trust: Cherry Mui <cherryyz@google.com>
Reviewed-by: default avatarEmmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: default avatarMichael Knyszek <mknyszek@google.com>
Reviewed-by: default avatarChangkun Ou <mail@changkun.de>
Reviewed-by: default avatarRoland Shoemaker <roland@golang.org>
parent ab790554
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment