This commit is contained in:
suyl
2021-08-02 14:48:59 +08:00
parent 5534fe5fb6
commit 48a1b0d210

View File

@@ -41,7 +41,7 @@ func (t *TcpClient) handleConn(c net.Conn) {
globals.SugarLogger.Debugf("conn is nil")
return
}
defer c.Close()
//defer c.Close()
buffer := make([]byte, 1024)
//for {
n, err := c.Read(buffer)