]> Cypherpunks.ru repositories - gostls13.git/commit
all: remove os.ErrTimeout
authorDamien Neil <dneil@google.com>
Fri, 2 Aug 2019 16:09:27 +0000 (09:09 -0700)
committerDamien Neil <dneil@google.com>
Fri, 2 Aug 2019 17:57:18 +0000 (17:57 +0000)
commit0e54d28ff7ff63450356811b675a02e0afe610d6
tree9008bd7ffcf07a754137ce4a3a8ecf71a2332c14
parent2d1a1e0a2a5d2be7614fa7ec9be7ec9ed72bc820
all: remove os.ErrTimeout

It is unclear whether the current definition of os.IsTimeout is
desirable or not. Drop ErrTimeout for now so we can consider adding it
(or some other error) in a future release with a corrected definition.

Fixes #33411

Change-Id: I8b880da7d22afc343a08339eb5f0efd1075ecafe
Reviewed-on: https://go-review.googlesource.com/c/go/+/188758
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
19 files changed:
api/go1.13.txt
src/context/context.go
src/context/context_test.go
src/go/build/deps_test.go
src/internal/oserror/errors.go
src/internal/oserror/errors_test.go [deleted file]
src/internal/poll/fd.go
src/net/cgo_unix.go
src/net/http/transport.go
src/net/net.go
src/net/pipe.go
src/net/timeout_test.go
src/net/url/url.go
src/os/error.go
src/syscall/syscall_js.go
src/syscall/syscall_nacl.go
src/syscall/syscall_plan9.go
src/syscall/syscall_unix.go
src/syscall/syscall_windows.go