running nodeA and nodeB、nodeC,nodeB connect to NodeA,NodeC connect nodeA,when i shutdown NodeB,NodeA immediately close,and NodeC also immediately close,how todo shutdown NodeB and NodeC->NodeA was keep connnect?
ha.SetStreamHandler("/p2p/1.0.0", handleStream)
select {} // hang forever
running nodeA and nodeB、nodeC,nodeB connect to NodeA,NodeC connect nodeA,when i shutdown NodeB,NodeA immediately close,and NodeC also immediately close,how todo shutdown NodeB and NodeC->NodeA was keep connnect?