This commit is contained in:
suyl
2021-06-15 15:32:32 +08:00
parent ae84589963
commit e827c53ebc

View File

@@ -155,6 +155,7 @@ func main() {
fmt.Println("accept error:", err) fmt.Println("accept error:", err)
break break
} }
c.Close()
globals.SugarLogger.Debugf("tcp socket:", utils.Format4Output(c, true)) globals.SugarLogger.Debugf("tcp socket:", utils.Format4Output(c, true))
go handleConn(c) go handleConn(c)
} }