mirror of
https://github.com/golang/go
synced 2024-11-22 17:14:41 -07:00
net: remove unused errTimedout
It's unused since CL 524055. Change-Id: I767eac6a66379e67337e24051e5f79aa027e9fad Reviewed-on: https://go-review.googlesource.com/c/go/+/524715 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
cab416f339
commit
9dea791a7a
@ -7,7 +7,6 @@ package net
|
|||||||
import "syscall"
|
import "syscall"
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errTimedout = syscall.ETIMEDOUT
|
|
||||||
errOpNotSupported = syscall.EPLAN9
|
errOpNotSupported = syscall.EPLAN9
|
||||||
|
|
||||||
abortedConnRequestErrors []error
|
abortedConnRequestErrors []error
|
||||||
|
@ -13,7 +13,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errTimedout = syscall.ETIMEDOUT
|
|
||||||
errOpNotSupported = syscall.EOPNOTSUPP
|
errOpNotSupported = syscall.EOPNOTSUPP
|
||||||
|
|
||||||
abortedConnRequestErrors = []error{syscall.ECONNABORTED} // see accept in fd_unix.go
|
abortedConnRequestErrors = []error{syscall.ECONNABORTED} // see accept in fd_unix.go
|
||||||
|
@ -10,7 +10,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errTimedout = syscall.ETIMEDOUT
|
|
||||||
errOpNotSupported = syscall.EOPNOTSUPP
|
errOpNotSupported = syscall.EOPNOTSUPP
|
||||||
|
|
||||||
abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go
|
abortedConnRequestErrors = []error{syscall.ERROR_NETNAME_DELETED, syscall.WSAECONNRESET} // see accept in fd_windows.go
|
||||||
|
Loading…
Reference in New Issue
Block a user