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

Correct way to connect with IPv6 cluster #123

Open
LazyHippogriff opened this issue Sep 24, 2019 · 1 comment
Open

Correct way to connect with IPv6 cluster #123

LazyHippogriff opened this issue Sep 24, 2019 · 1 comment

Comments

@LazyHippogriff
Copy link

Given below is the definition of ip_port_separator as given in hircluster.c
#define IP_PORT_SEPARATOR ":"

How should I connect with my cluster which has got only IPv6? IPv6 has already got ':' in the IP address. Should I change the macro?

@bjosv
Copy link

bjosv commented Dec 8, 2020

The separator is searched from the beginning of the address string, and one possibility to handle IPv6 is to search from the end of the address string instead, see commit.
In this fork, we have added IPv6 support. We have also fixed memory leaks, allocation failure handling and added features like TLS support. Feel free to switch to this fork.

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

No branches or pull requests

2 participants