-
Notifications
You must be signed in to change notification settings - Fork 289
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
请问会支持IPv6转发吗 #36
Comments
这是个BUG Lines 83 to 87 in 6f8cb4e
|
尝试了下1.5版本,此问题依然未彻底解决。 thread 'tokio-runtime-worker' panicked at 'called @zhboner @zephyrchien |
感谢report。目前已经定位到问题了,但是还没有比较好的解决方法 标准库的 ipv6 parser 在解析ipv6+port时要求给IP加中括号(比如 [::1]:80),而直接解析ipv6的时候则不需要加中括号(比如 ::1) realm目前的解析策略是启动时提取ipv6和port,同时定时解析ipv6。等发起新连接时再合并当前的ipv6+port,解析字符串得到socket_addr。如果按 [::1]:80 的格式填写地址,首次解析ipv6时就panic;如果以 ::1:80 的格式填写,则发起连接的时panic @zhboner 也许是时候重构一下resolver了,顺便还能把 #24 解决掉。能否把我加入collaborators,我会负责这部分的重构 |
realm -l [::]:12345 -r example.com:12345
无法监听v6的样子
谢谢
The text was updated successfully, but these errors were encountered: