Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix race in adding connections to connsByPeer #1116

Merged
merged 3 commits into from Jun 7, 2021

Commits on Jun 7, 2021

  1. Fix race in adding connections to connsByPeer

    Side A could already be running Identify with side B before B had the
    connection in the connsByPeer, this lead to Connectedness returning
    NotConnected and Identify failing.
    
    Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
    Jakub Sztandera committed Jun 7, 2021
    Copy the full SHA
    79cc9a4 View commit details
    Browse the repository at this point in the history
  2. Update go-libp2p in examples to fix CI

    Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
    Jakub Sztandera committed Jun 7, 2021
    Copy the full SHA
    8c97572 View commit details
    Browse the repository at this point in the history
  3. Deterministic lock order

    Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
    Jakub Sztandera committed Jun 7, 2021
    Copy the full SHA
    d82385e View commit details
    Browse the repository at this point in the history