-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Closed
Copy link
Labels
deficiencySomething doesn't work as well as it couldSomething doesn't work as well as it couldupstreamAn unresolvable issue: an upstream dependency bugAn unresolvable issue: an upstream dependency bug
Description
Description
Currently sqlx in db_pools uses runtime-tokio-rustls as its feature. This has a bug which results in a InvalidDNSNameError for raw IP addresses as a part of the url. This is being fixed, however, it would be nice to let the user choose their TLS back-end.
To Reproduce
Setting the database url to a raw IP address as follows:
mysql://foo:bar@<IP>:3306/baz
Expected Behavior
The IP shouldn't need any DNS resolution.
Environment:
- OS Distribution and Kernel: [Fedora 36, Kernel 6.0.5]
- Rocket Version: [0.5.0-rc.2]
Additional Context
A simple fix is to remove the feature from sqlx, and let the user choose the backend.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
deficiencySomething doesn't work as well as it couldSomething doesn't work as well as it couldupstreamAn unresolvable issue: an upstream dependency bugAn unresolvable issue: an upstream dependency bug