Skip to content

Setting dial timeout #72

@MediocreCoding

Description

@MediocreCoding

When using a standard transport dialer, you can set the dial timeout:

t := &http.Transport{
	DialContext: (&net.Dialer{
		Timeout:   30 * time.Second,
	}).DialContext,
}

Since the Tor dial context replaces the standard dialer here though, we can't use this method to set the timeout.

I've searched through the various settings for both the bine Client and the bine Dialer, but cannot find a setting for dial timeout. Is there a way to set this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions