-
Notifications
You must be signed in to change notification settings - Fork 171
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
RUST-229 Parse IPv6 addresses in the connection string #1242
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! One nit, no need for re-review.
src/client/options.rs
Outdated
return Ok(ServerAddress::Unix { | ||
path: PathBuf::from(address), | ||
}); | ||
#[cfg(unix)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already inside the #[cfg(unix)]
on line 213, so I don't think this is needed.
src/client/options.rs
Outdated
path: PathBuf::from(address), | ||
}); | ||
} | ||
#[cfg(not(unix))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly, I don't think this will ever trigger.
@isabelatkinson The changes are incorrectly parsing localhost ipv6 |
The following test:
gives me the following output:
Is there a different output you're expecting? Note that the |
@isabelatkinson My local client fails like this when run with uri
|
Based on that error message it doesn't look like you're working off the changes in the PR. What dependency do you have in your To test the PR changes you'll need:
(This is just a temporary change for testing; once we release you'll be able to depend on an official version again.) |
@isabelatkinson I was just behind a few commits after doing a pull.. I am able to test without issue and can confirm ipv6 localhost is working as expected. |
No description provided.