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

feat(client): skip dns resolution when host is a valid ip addr #1372

Merged
merged 1 commit into from
Nov 13, 2017

Conversation

srijs
Copy link
Contributor

@srijs srijs commented Nov 11, 2017

This change allows us to skip going to the thread pool for dns lookup in cases where the host itself is already a valid ipv4 or ipv6 address.

This is useful for performance reasons, as well as to allow passing in a no-op executor in cases where it's known that only static IPs will be connected to.

@seanmonstar seanmonstar merged commit b1785c6 into hyperium:master Nov 13, 2017
@seanmonstar
Copy link
Member

Very nice!

@srijs srijs deleted the feat/skip-dns-pool-with-host-ip branch April 18, 2023 22:30
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