sitegui / nodejs-websocket

A node.js module for websocket server and client
MIT License
736 stars 155 forks source link

Websocket Idle Timeout #41

Closed okan closed 7 years ago

okan commented 7 years ago

Hi, I've created a simple websocket server with nodejs-websocket module to test just another web client (which is written by me)

In my server-side logic, I'm sending ping to client-side in a timer interval. (The timer interval can be set from client-side) For short intervals (for example 15 - 30 seconds) ping/pong communication continues properly. When I'm trying to set the timer interval to 15 minutes, ping/pong isn't working. I think, connection is closed by the server side.

Which part I'm missing? Is there a websocket idle timeout on server-side? If there is, what is the timeout? Could you please share information about that?