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
客户端切换网络时,当前连接会被当成新连接 #223
Comments
这个很麻烦吧, 如果想做连接迁移,估计得像quic一样。而且还得负载均衡器也支持才可以做到。 |
个人项目,只有一个客户端在家里的电脑上,客户端断开或者出错会有日志,但是我没有找到相关日志。出口会变,不受我的控制,毕竟大部分情况客户端都在层层nat下 |
目前也准备做这件事情,quic协议里简单提到负载均衡器使用其中的perfer address port来做负载均衡,当然也可以使用previous connectionId来作负载均衡 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
代码中没有使用conv当唯一标识,而是使用ip和port作为唯一标识。当客户端切换网络或者挂上VPN时,IP会改变,这样就认为是一个新连接了,后续发送的包无法和客户端对应上。这个问题需要如何处理呢?
The text was updated successfully, but these errors were encountered: