Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `PeerId` is now unique in that it always increments with each new connection, avoiding situations where it could be reused as connection slots get released. This is in order to avoid race conditions on the consumer side where a client leaves and a new one quickly gets his peer id, before the client can react and realize these are different peers with different states. - Integration test for the above scenario.
- Loading branch information
1 parent
9f986da
commit 07e9d0f
Showing
4 changed files
with
190 additions
and
90 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
Oops, something went wrong.