-
Notifications
You must be signed in to change notification settings - Fork 586
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Tungstenite IO error being discarded in ws_impl (#975)
This commit fixes the issue where the `recv_json()` impl in ws_impl was discarding tungstenite errors, so that any matches later in the error propagation chain can properly handle this event. This commit also removes the (imho, nonsensical) IO error discarding until the next heartbeat fails. An IO error on a connection is, in most cases, unrecoverable. So it's often faster and more reliable to just discard the connection and retry.
- Loading branch information
Showing
2 changed files
with
3 additions
and
24 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
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