Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix brpc.baidu.com not accessible #1189

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

zyearn
Copy link
Member

@zyearn zyearn commented Jul 28, 2020

No description provided.

ASSERT_EQ(0, dns.GetServers("brpc.baidu.com:1234", &servers));
ASSERT_EQ(1u, servers.size());
ASSERT_EQ(0, dns.GetServers("baidu.com:1234", &servers));
ASSERT_EQ(2u, servers.size());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个数量以后会变么?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

可能会变,理论上这里只要依赖一个外部url都有变的可能性

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我们就期望它不要频繁变动吧

@jamesge jamesge merged commit 8e6bdfa into apache:master Jul 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants