net: Dial() connection refused error is not syscall.ECONNREFUSED
value on windows
#45621
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
https://play.golang.org/p/9jvY6yme07T
What did you expect to see?
Expected error value returned from
net.Dial()
to be asyscall.Errno
value equal tosyscall.ECONNREFUSED
What did you see instead?
The text was updated successfully, but these errors were encountered: