dianjifzm commented on issue #13743: URL: https://github.com/apache/dubbo/issues/13743#issuecomment-1928901322
InetAddress.isReachable 的问题虽然一直存在,但是在 dubbo 3.1.0 之前,NetUtils.getLocalAddress0() 并不会返回null 因为即使InetAddress.isReachable校验不通过,仍然会返回默认值 localAddress = InetAddress.getLocalHost(); 后来代码中加入了IPv6支持 localAddress = getLocalAddressV6(); 导致 默认值逻辑发生变化,默认值不再是InetAddress.getLocalHost() 而是 getLocalAddressV6() 因此性能问题才出现。 我已经提交了修复方案,希望尽快CR https://github.com/apache/dubbo/pull/13745 -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org