Skip to content

net: Dial connects successfully to unreachable host #10186

Closed
@brennerm

Description

@brennerm

What does 'go version' print?

go version go1.4.2 darwin/amd64

What steps reproduce the problem?
http://play.golang.org/p/3Xm-GLcohL

What happened?
returned error is nil when dial any non-existent address.

What should have happened instead?
the error should not be nil.

Please provide any additional information below.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions