Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Fix: Connection Closed after handshake #37

Merged
merged 1 commit into from Nov 1, 2019
Merged

Conversation

hsanjuan
Copy link
Contributor

@hsanjuan hsanjuan commented Nov 1, 2019

The context-cancelled watchdog goroutine may start running way after the
handshake has finished and the associated context has been cancelled (by the
executeDial() function in go-libp2p-swarm usuaully).

This results in the connection being closed right after being stablished.

The context-cancelled watchdog goroutine may start running way after the
handshake has finished and the associated context has been cancelled (by the
executeDial() function in go-libp2p-swarm usuaully).

This results in the connection being closed right after being stablished.
@hsanjuan hsanjuan self-assigned this Nov 1, 2019
@hsanjuan
Copy link
Contributor Author

hsanjuan commented Nov 1, 2019

This should fix at least one of the issues in libp2p/go-libp2p#732

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanksf ro finding this!

@Stebalien Stebalien merged commit 141af4b into master Nov 1, 2019
@Stebalien Stebalien deleted the fix/handshake-cancelled branch November 1, 2019 23:10
This was referenced Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants