Skip to content

Conversation

@wenjiecn
Copy link
Contributor

What problem does this PR solve?

Issue Number: #3157

Problem Summary:

What is changed and the side effects?

Changed:
1.在ChannelOptions中添加client_host,让用户设置client的ip或hostname
2.在SocketOptions 中添加butil::EndPoint local_side,由 client_host:0 -> local_side
3.在GetNamingServiceThreadOptions添加butil::EndPoint client_end_point,由 client_host:0 -> client_end_point
4.在ComputeChannelSignature中append "clih=client_host", 进行hash
5.在系统调用socket创建socket后,调用bind绑定ip
Side effects:

  • Performance effects:

  • Breaking backward compatibility:


Check List:

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.

1 participant