An API server for hosting Reddit AMA style Q&A sessions.
GNU General Public License v3.0
4
stars
0
forks
source link
Implement Websocket Ping/Pong heartbeat with automatic disconnection of clients who don't reply. #24
Open
RocketPuppy opened 7 years ago
https://github.com/mojotech/modernator-haskell/commit/c8b86eaed3e882d19c5d5956f5982b138d09fc5a added the
forkPingThread
function that continuously sends a ping to clients. This is enough to keep a connection alive on the server, but doesn't seem to require a robust ping/pong heartbeat mechanism that automatically disconnects clients that don't reply in time.