You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a server using WebServers.createWebServer. I could send & receive messages, when I closed the Chrome tab (websocket client), the WebSocketHandler.onClose method was triggered. But if I disconnect the network of the ws client, it won't trigger the onClose method, or it would take a few minutes to trigger it. According to the source code, the default value of staleConnectionTimeout should be 5 seconds.
The text was updated successfully, but these errors were encountered:
I'm having the same issue currently with 0.4.14. Setting the staleConnectionTimeout (or just leaving it at the default of 5 seconds) seems to have no effect.
If I leave a connection open and send no data across the wire, it never closes itself
If I disconnect my network connection from the client, the server never cleans up the WebSocketConnection
version: 0.4.14
I created a server using WebServers.createWebServer. I could send & receive messages, when I closed the Chrome tab (websocket client), the WebSocketHandler.onClose method was triggered. But if I disconnect the network of the ws client, it won't trigger the onClose method, or it would take a few minutes to trigger it. According to the source code, the default value of staleConnectionTimeout should be 5 seconds.
The text was updated successfully, but these errors were encountered: