diff options
| author | Shawn Walker-Salas <shawn.walker@oracle.com> | 2017-06-30 10:57:04 -0700 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-06-30 19:07:13 +0000 |
| commit | 4b8bfa6352e8f67886dc1cd1eba92b248715bd11 (patch) | |
| tree | 0249821cbaaf8e39a96200d015aef9dadda0b75e /src/os/exec/exec.go | |
| parent | 990dac2723d67b97692d4d35ac0a96189eeb5a09 (diff) | |
| download | go-4b8bfa6352e8f67886dc1cd1eba92b248715bd11.tar.xz | |
net: fix sendfile for Solaris
If a retryable error such as EAGAIN/EINTR is encountered during a call
to sendfile(), we should not assume that a partial write occurred.
Instead, just like any other platform, we should always try again even
if 0 bytes were written.
Fixes #20857
Change-Id: I9aa48d193c27c6794c550320da4d3f7544041f37
Reviewed-on: https://go-review.googlesource.com/47351
Run-TryBot: Shawn Walker-Salas <shawn.walker@oracle.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/os/exec/exec.go')
0 files changed, 0 insertions, 0 deletions
