1
This commit is contained in:
@@ -92,9 +92,7 @@ func handleConn(c net.Conn) error {
|
||||
callback = true
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("======printno := %s", printNo)
|
||||
t, ok := PrintObject[printNo]
|
||||
globals.SugarLogger.Debugf("======t := %s", utils.Format4Output(t, false))
|
||||
if !ok {
|
||||
t = NewTcpClient()
|
||||
}
|
||||
@@ -115,7 +113,6 @@ func handleConn(c net.Conn) error {
|
||||
// c.Write([]byte("ok"))
|
||||
// return err
|
||||
//}
|
||||
globals.SugarLogger.Debugf("=================1")
|
||||
if heartbeat {
|
||||
// 证明是心跳
|
||||
Heartbeat(c, t, data, printNo, printRemoteAddr)
|
||||
|
||||
Reference in New Issue
Block a user