Antti / rust-amqp

AMQP client in pure rust. Corresponds to rabbitmq spec.
MIT License
249 stars 45 forks source link

Unable to use open_url with an IPv4 IP #51

Open staticfox opened 7 years ago

staticfox commented 7 years ago

It seems that trying to call open_url without a domain does not work. Using a domain/hostname works fine, and I'm not even sure how it would be possible to parse IPv6 (example, ::1) since that would throw an invalid port error.

edit: Forgot about wrapping ipv6 in [], though that does not work here.