-
Notifications
You must be signed in to change notification settings - Fork 296
support ipv6 #786
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
base: master
Are you sure you want to change the base?
support ipv6 #786
Conversation
) | ||
|
||
// Analyze it yourself here, in order to support the diversity of configurations | ||
func SplitIPPortStr(addr string) (string, int, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seata使用的第三方库本身也对IPv6有支持,不过对于不带 “[]” 括号的ipv6解析不对且对于%符号也需要另外处理,dubbo-go代码上看也是这样。但是查看java版本的seata代码也是自己解析且支持不带“[]”括号以及%符号处理的,所以这里自己加了这个地址工具。
测试下,能否跑通整个流程 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Done |
What this PR does:
This pr will support ipv6
Which issue(s) this PR fixes:
#710
Special notes for your reviewer:
Does this PR introduce a user-facing change?: