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

hostip: lazily wait to figure out if IPv6 works until needed #9553

Closed
wants to merge 1 commit into from

Conversation

bagder
Copy link
Member

@bagder bagder commented Sep 21, 2022

The check may take many milliseconds, so now that is done once the value is first needed. Also, this change makes sure that the value is not used if the resolve is set to be IPv4-only.

The check may take many milliseconds, so now that is done once the value
is first needed. Also, this change makes sure that the value is not used
if the resolve is set to be IPv4-only.
@bagder bagder added the name lookup DNS and related tech label Sep 21, 2022
@bagder
Copy link
Member Author

bagder commented Sep 21, 2022

/cc @dkarpov1970 @dfandrich

@dkarpov1970
Copy link

Looks good to me!

@bagder bagder closed this in 46f3fe0 Sep 22, 2022
@bagder bagder deleted the bagder/hostip-lazy-ipv6works branch September 22, 2022 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
name lookup DNS and related tech
Development

Successfully merging this pull request may close these issues.

None yet

2 participants