-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tim/transport-fixxxx' into 'master'
fix(transport): Don't hold peer state lock across TLS handshake In the worst case we hold the write lock on the peer for 30s (TLS timeout). It is possible that p2p has not received the peer down event yet (because we spawn the connect task before sending the peer down event) and it might try to send sth to the reconnecting peer (doing a blocking_read) which can block the p2p thread. See merge request dfinity-lab/public/ic!15496
- Loading branch information
Showing
1 changed file
with
15 additions
and
11 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