Skip to content

RUST-2001 Allow SRV hostnames with less than three parts #1211

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

Merged
merged 6 commits into from
Oct 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add back in unix
  • Loading branch information
abr-egn committed Oct 1, 2024
commit 22edc89a3a25d6a967aa5a3d1d9bee01aceb4787
1 change: 1 addition & 0 deletions src/client/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1459,6 +1459,7 @@ impl ConnectionString {
"a port cannot be specified with 'mongodb+srv'",
));
}
#[cfg(unix)]
[ServerAddress::Unix { .. }] => {
return Err(Error::invalid_argument(
"unix sockets cannot be used with 'mongodb+srv'",
Expand Down