This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Correctly schedule pong timeouts
Previously if the client code were otherwise waiting on an unrelated future the pong timeout expiring would immediately kill the connection. Instead wait for the connection to start reading messages from the websocket again, and only then kill the connection if we for sure don't see a pong.
- Loading branch information
1 parent
11a30a9
commit 3b5075a
Showing
1 changed file
with
39 additions
and
14 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