From 0f3b9c8c292b59e54129271262c76d933189b937 Mon Sep 17 00:00:00 2001 From: JungJun Date: Wed, 22 Jun 2022 10:39:04 +0900 Subject: [PATCH] =?UTF-8?q?read=20=EC=97=90=EB=9F=AC=20=EC=8B=9C=20return?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icsstat/icsstat.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)