-
Notifications
You must be signed in to change notification settings - Fork 41.1k
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
IPv6 IP addresses cannot be used with RabbitMQ #37619
IPv6 IP addresses cannot be used with RabbitMQ #37619
Conversation
…nto bugfix-ipv6-address-in-rabbit
…nto bugfix-ipv6-address-in-rabbit
@jonasfugedi Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
@jonasfugedi Thank you for signing the Contributor License Agreement! |
@jonasfugedi Thanks very much for your first contribution to Spring Boot. I've merged it along with a polishing commit for style and a small bit of additional testing. |
Is it possible for an IPv6 address to be specified without a port (i.e. use the default port)? Wouldn't this code fail in that scenario, since it'd split on a colon that's part of the IP address, and not related to the port? |
Not if I read the code correct, the source of the addresses is Which ensures a port is always appended to the host. Previous behavior was retained, i.e. I kept the same assumptions as the code did before except I needed it to work when using ipv6 addresses. |
Failed to parse ipv6 addresses due to assumption of ipv4 addresses.
I think the regression was introduced in #34657