diff --git a/icsstat/icsstat.go b/icsstat/icsstat.go index fbc59f9..2699c04 100644 --- a/icsstat/icsstat.go +++ b/icsstat/icsstat.go @@ -140,9 +140,11 @@ func StatsCommand(t *icsnet.IcsTCPNet, bufend string) { if rerr.GetError() != io.EOF { l.Printf(icslog.LOG_LEVEL_ERROR, -1, "[Stat Command] ReadS Error! - %s[%d:%d]", rerr.GetError(), rlen, len(statReads)) + // 여기서 listen인데 + t.Close() + return // t.Close() } - continue } else { seqId := fmt.Sprintf("%05d", count) fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen)