-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide ping handler that responds when client blocked
The websocket only handles responding to pings when reading messages. If the client is blocked handling incoming messages and does not read additional messages for some time, websocker keep-alive pings are not responded to. This may lead to the server dropping the websocket connection thinking that the client is dead. This PR provides a ping handler that answers pings even when the client if not reading messages. Addresses issue #245
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 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