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

Prevent heartbeat disconnection when browser is blocking (alert, Flash File Browser, etc.) #472

Closed
tommedema opened this issue Aug 22, 2011 · 2 comments

Comments

@tommedema
Copy link

Just before a client opens a file browser that blocks the browser's thread and thus stops heartbeats from being sent out, I'd like to temporarily increase the required heartbeat interval for this specific socket to a much higher amount.

When the user then leaves the file browser, I'd like to restore the heartbeat interval.

Would it be possible to dynamically adjust the required heartbeat interval for a specific socket?

Such logic would be much better than to reconnect. This is because reconnection would force me to store the socket's state on the server-side, so one would have to differentiate between clients that disconnect willingly and those that do not.

@rauchg
Copy link
Contributor

rauchg commented Sep 3, 2011

Options re-negotiation and self-healing are coming, but right now not possible. Preserving state is still a good idea since reconnections do happen frequently =]

@tommedema
Copy link
Author

Closing since I guess this is being worked on

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