mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-13 14:06:28 +00:00
more conn migration
This commit is contained in:
@ -65,6 +65,7 @@ func (d *Dialer) DialByNodeIDandMask(nodeID, nodeMask *crypto.NodeID) (*Conn, er
|
||||
conn.Close()
|
||||
return nil, err
|
||||
}
|
||||
conn.session.setConn(nil, conn)
|
||||
t := time.NewTimer(6 * time.Second) // TODO use a context instead
|
||||
defer t.Stop()
|
||||
select {
|
||||
|
Reference in New Issue
Block a user