Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster transfer APIs #49

Merged
merged 5 commits into from
Nov 4, 2020
Merged

Conversation

danielamkaer
Copy link
Collaborator

No description provided.

dialContext = (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this field was deprecated when looking up the docs for it https://golang.org/pkg/net/#Dialer:

    // DualStack previously enabled RFC 6555 Fast Fallback
    // support, also known as "Happy Eyeballs", in which IPv4 is
    // tried soon if IPv6 appears to be misconfigured and
    // hanging.
    //
    // Deprecated: Fast Fallback is enabled by default. To
    // disable, set FallbackDelay to a negative value.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea. But its defined in http.DefaultTransport which is what is mirrored here. Also just moved this up from a few lines down.

@danielamkaer danielamkaer merged commit 4cdbe72 into master Nov 4, 2020
@SaaldjorMike SaaldjorMike deleted the danielamkaer/cluster-transfer branch November 4, 2020 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants