diff options
Diffstat (limited to 'src/syscall/syscall_unix.go')
-rw-r--r-- | src/syscall/syscall_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/syscall_unix.go b/src/syscall/syscall_unix.go index f18dfca5e..a06bd7dd0 100644 --- a/src/syscall/syscall_unix.go +++ b/src/syscall/syscall_unix.go @@ -109,7 +109,7 @@ func (e Errno) Error() string { } func (e Errno) Temporary() bool { - return e == EINTR || e == EMFILE || e.Timeout() + return e == EINTR || e == EMFILE || e == ECONNRESET || e == ECONNABORTED || e.Timeout() } func (e Errno) Timeout() bool { |