Skip to content

net: timeout support for Dial #240

Closed
@gopherbot

Description

@gopherbot

by emilliken:

Right now it takes over 3 minutes for net.Dial() to return if a tcp host is
down.  I would like to be able to specify the timeout.

Currently you can somewhat get around this by Dialing in a separate
goroutine and just letting it finish, but this sounds like a waste of a
resource.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions