dianjifzm opened a new pull request, #13744:
URL: https://github.com/apache/dubbo/pull/13744

   ## What is the purpose of the change
   
   1、getLocalAddress0() 优先获得IPv4地址,再尝试获得IPv6地址,都获取不到时不再校验getLocalHost的有效性
   2、getLocalHost() 只计算一次IP地址,如果getLocalAddress() 返回null, 
则用LOCALHOST_VALUE赋值,避免大量的重复计算
   
   
   


-- 
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

Reply via email to