-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a regression that results in a deadlock
This refactoring f4558f6 effectively removed the fix introduced in #244 and the client started deadlocking if a keep alive was sent during reconnects. To avoid deadlocks the callback will be now scheduled asynchronously on the callback queue if there is an error due to a reconnect. For all other cases ReconnectableConnection will rely on the fact that the underling HttpConnection already schedules callbacks to be executed asynchronously. Fixes: #264
- Loading branch information
Showing
3 changed files
with
50 additions
and
8 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
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