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 ipv6 connection issues #491

Closed
wants to merge 1 commit into from
Closed

Conversation

zachary822
Copy link
Contributor

@zachary822 zachary822 commented May 4, 2024

Addresses #486

Uses socket.getaddrinfo to get address family from provided host and port for the blocking client. This addresses the previous issue that only ipv4 clients were allowed.

@edgedb-cla
Copy link

edgedb-cla bot commented May 4, 2024

All commit authors signed the Contributor License Agreement.
CLA signed

@raddevon raddevon requested a review from fantix May 6, 2024 21:58
@cmr-a
Copy link

cmr-a commented May 11, 2024

I tested this. I was able to connect to a remote edgedb instance over ipv6 with these changes. Thanks for the PR!

@fantix
Copy link
Member

fantix commented May 29, 2024

Thanks for the PR! However, I think we should try to connect to all resolved addresses and use the first one that succeeded, in the same way as asyncio does. I submitted #499 (with your commit) to also fix IPv6.

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.

3 participants