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

Add an option to decide whether to disconnect from the network connection when switch the hosts #9

Open
eddy8 opened this issue Nov 24, 2017 · 2 comments

Comments

@eddy8
Copy link

eddy8 commented Nov 24, 2017

sometimes we do not want to disconnect the network connection when switch the hosts.
thanks.

@tinycedar
Copy link
Owner

tinycedar commented Nov 24, 2017

一般来说断开网络连接并没多大问题,当然对于websocket这种长连接就有问题了。但是如果切换hosts不断开网络连接的话,页面刷新后可能还是展示切换前服务器ip返回的内容。你能接受这种结果吗?

@eddy8
Copy link
Author

eddy8 commented Dec 11, 2017

某些情况下不想断开网络连接。图形界面上弄个选项交给用户选择比较好,默认设置为断开网络连接即可~

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

No branches or pull requests

2 participants