-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#230] GC non-terminating websocket conns
If a WebSocket connection is closed without normal termination (e.g. as caused by sudden loss of power, airplane mode, etc.) - it can hang around in conns_ for an extended period of time until the underlying TCP connection is identified as dead. This simple mod allows Sente's server to perform WebSocket connection GC for clients that haven't communicated with the server w/in a defined amount of time (must be > client :ws-kalive-ms). Big thanks to @altV for helping to catch + diagnose this issue.
- Loading branch information
1 parent
b70815e
commit 35658d0
Showing
1 changed file
with
27 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35658d0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!