Skip to content

Commit

Permalink
Fix race condition in connection to Peer (#526)
Browse files Browse the repository at this point in the history
The fix is in two parts:
- First we clean up the connection logic, introduce connection ids and make the main peer loop responsible for switching between connections
- Then we fix `processActions` to make sure that we always use the connection that the `Channel` FSM was using when it asked to send messages
  • Loading branch information
pm47 authored Sep 14, 2023
1 parent 5e7720c commit 7aba221
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 126 deletions.
Loading

0 comments on commit 7aba221

Please sign in to comment.