Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

fix: fix block bug of InetAddressValidator.getInstance() #64

Conversation

foreverneverer
Copy link
Contributor

@foreverneverer foreverneverer commented Nov 7, 2019

DNS域名功能为了检测域名地址格式的有效性,使用了Apache 的commons-validator 包的 InetAddressValidator.getInstance().isValid 方法,其中InetAddressValidator.getInstance()在某些机器上可能会引起阻塞。目前并未发现引起阻塞的原因,该PR更换成了Guava包,该bug并未出现。

@neverchanje neverchanje changed the title fix: fix block bug fix: fix block bug of InetAddressValidator.getInstance() Nov 7, 2019
@neverchanje neverchanje merged commit ce180c5 into XiaoMi:thrift-0.11.0-inlined Nov 7, 2019
foreverneverer added a commit to foreverneverer/pegasus-java-client that referenced this pull request Nov 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants