roninhao

Results 2 comments of roninhao

> c.msgBuffChan //在大并发高负载的情况下 经常因为这句崩溃,原因是向一个关闭的chan写入数据, > //可能是在“将data封包,并且发送”的时候chan被其他携程关闭了 所有在发送前最后再检查一下最好! > > func (c *Connection) SendBuffMsg(msgId uint32, data []byte) error { > if c.isClosed == true { > return errors.New("Connection closed when send...

刚装了一样的错误