itxaiohanglover commented on PR #10592:
URL: https://github.com/apache/rocketmq/pull/10592#issuecomment-4886122901

   Thanks for pointing that out! You're right — 
`SimpleChannel#parseSocketAddress` used `address.split(":")`, which produces 
more than 2 segments for IPv6 addresses like `[240e:...:2]:44880`, so it 
returns null and `bornSocketAddress` ends up null.
   
   Fixed in the latest push — switched to `lastIndexOf(":")` to split host:port 
and strip brackets from IPv6 host, consistent with the 
`NetworkUtil.string2SocketAddress` fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to