Skip to content

WebSockets in strange state after some time #167

Answered by ghost
jorchg asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Jorge,

Definitely use idleTimeout and let the clients send messages to the server from time to time. It should not be a problem for the server to receive. You don't even need to respond to them, just make sure to send something to the server.

With idle timeout of 120 seconds the server should pick up on and throw away dead connections properly

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #167 on December 09, 2020 12:21.