From 8d1d2bd6a2f1750d601f731bdc6d23b776687cca Mon Sep 17 00:00:00 2001 From: esrrhs Date: Thu, 31 Oct 2019 21:55:40 +0800 Subject: [PATCH] add --- client.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index af277ea..ef145f9 100644 --- a/client.go +++ b/client.go @@ -322,7 +322,10 @@ func (p *Client) AcceptTcpConn(conn *net.TCPConn, targetAddr string) { } } - loggo.Info("connected remote tcp %s %s", uuid, tcpsrcaddr.String()) + if !clientConn.exit { + loggo.Info("connected remote tcp %s %s", uuid, tcpsrcaddr.String()) + } + bytes := make([]byte, 10240) tcpActiveRecvTime := time.Now()