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

dns/client: fix getaddrinfo duplicates #486

Merged
merged 1 commit into from
Aug 24, 2022
Merged

Conversation

sreimers
Copy link
Member

By default getaddrinfo returns answers for each socktype/protocol. Since
we have no knowledge about the used socket type (SOCK_STREAM, SOCK_RAW
or SOCK_DGRAM...) we can't filter with hints. So we have to check for
duplicates with a list handler.

By default getaddrinfo returns answers for each socktype/protocol. Since
we have no knowledge about the used socket type (SOCK_STREAM, SOCK_RAW
or SOCK_DGRAM...) we can't filter with hints. So we have to check for
duplicates with a list handler.
@sreimers sreimers merged commit f9d18f8 into main Aug 24, 2022
@sreimers sreimers deleted the dns_getaddrinfo_duplicates branch August 24, 2022 12:03
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.

1 participant