-
Notifications
You must be signed in to change notification settings - Fork 105
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
客户端ip或port发生变化时连接丢失,这种情况如何处理? #17
Comments
1)减小心跳时间间隔 顺便问下楼主现在是怎么解决的呢? |
改了源码,以conv管理channel |
考虑之后可以做个开关控制是用remote address,还是用conv进行channel管理。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
框架内部通过remote address管理channel, 当客户端ip或port发生变化后, 服务端是无法感知的, 只能通过客户端探活重连, 这种情况会导致客户端在这种情况下延迟大大增加. 当客户端4G切换基站或者更换wifi ap时就会发生这种情, 而且比较频繁. 除了修改框架以conv管理channel外, 还有其他方案么?
The text was updated successfully, but these errors were encountered: