Howard Gao created ARTEMIS-4189:
-----------------------------------
Summary: NettyConnection.isSameTarget() should compare host names
by IPs
Key: ARTEMIS-4189
URL: https://issues.apache.org/jira/browse/ARTEMIS-4189
Project: ActiveMQ Artemis
Issue Type: Bug
Components: Broker
Affects Versions: 2.28.0
Reporter: Howard Gao
Assignee: Howard Gao
The method just compares the host names using string equals. However when one
host name is in IP form (like "10.7.2.2") it should try to resolve the
addresses of the host name and make sure they are equal if one of the IP
addresses matches. Otherwise it may return wrong comparison result.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)