From c994ff5088e89efbfa0cf66732692bedf47d8bea Mon Sep 17 00:00:00 2001 From: lwch Date: Mon, 23 Aug 2021 16:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/client/pool/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/code/client/pool/handler.go b/code/client/pool/handler.go index e373643..f514c2b 100644 --- a/code/client/pool/handler.go +++ b/code/client/pool/handler.go @@ -65,6 +65,7 @@ func (p *Pool) handleDisconnect(data *network.Disconnect) { p.RUnlock() if link != nil { + logging.Info("disconnect link %s from remote", id) link.Close() } }