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

Fix multiresolver for IPs #168

Merged
merged 6 commits into from
Jul 10, 2023
Merged

Fix multiresolver for IPs #168

merged 6 commits into from
Jul 10, 2023

Conversation

agouin
Copy link
Member

@agouin agouin commented Jul 6, 2023

url.Parse fails when protocol is missing for IP addresses only (works for DNS though)

When protocol is not defined in multi-address, we want to assume tcp.

Add test case to catch regression in the future.

Resolves #166

@agouin agouin requested a review from vimystic July 6, 2023 23:50
@agouin agouin marked this pull request as draft July 7, 2023 03:28
@agouin agouin marked this pull request as ready for review July 7, 2023 15:54
@agouin agouin merged commit d23eb61 into main Jul 10, 2023
@agouin agouin deleted the andrew/fix_multiresolver branch July 10, 2023 20:01
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.

Leader election fails with v3.0.0
2 participants