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(ip): except socket error and using valid IPv6 endpoint #373

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

laozhoubuluo
Copy link
Contributor

尝试修复 #366 #281 反馈的问题,不太确定这么操作能否修复,暂挂。

@laozhoubuluo
Copy link
Contributor Author

感觉有异常的点,但本地不太好做验证:

  1. IPv6 连接的地址在现实中不存在,这个连接无法建立感觉会报错。
  2. 连接操作没有 catch error ,因此如果本机无法发起这个连接比如默认路由不存在就炸了。

@laozhoubuluo laozhoubuluo force-pushed the fix/get_ip_from_socket_error branch from 203c215 to 864a523 Compare April 5, 2024 09:24
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