• Hector Sanjuan's avatar
    Fix: Connection Closed after handshake · d3cafc00
    Hector Sanjuan authored
    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.
    d3cafc00
transport.go 3.53 KB