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

Deduplicate servers by ID when doing service discovery resolution #185

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

56quarters
Copy link
Owner

Avoid duplicate servers when a SRV lookup returns the same host multiple times with different ports. We deduplicate based on server ID. We keep the same behavior of ignoring the port number from SRV records.

Fixes #184

Avoid duplicate servers when a SRV lookup returns the same host multiple
times with different ports. We deduplicate based on server ID. We keep the
same behavior of ignoring the port number from SRV records.

Fixes #184
@56quarters 56quarters marked this pull request as ready for review August 21, 2024 23:20
@56quarters 56quarters merged commit 6ca6368 into master Aug 21, 2024
6 checks passed
@56quarters 56quarters deleted the dupes branch August 21, 2024 23:21
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.

Deduplicate servers from SRV records
1 participant