From b1b91b0c530824f59cd0921779d34ef230737014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Mon, 1 Apr 2019 13:25:12 +0800 Subject: [PATCH] Https send error bug --- server/proxy/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proxy/base.go b/server/proxy/base.go index 6c33ff6..73b13cd 100644 --- a/server/proxy/base.go +++ b/server/proxy/base.go @@ -78,7 +78,7 @@ func (s *BaseServer) CheckFlowAndConnNum(client *file.Client) error { func (s *BaseServer) DealClient(c *conn.Conn, client *file.Client, addr string, rb []byte, tp string, f func(), flow *file.Flow) error { link := conn.NewLink(tp, addr, client.Cnf.Crypt, client.Cnf.Compress, c.Conn.RemoteAddr().String()) if target, err := s.bridge.SendLinkInfo(client.Id, link, c.Conn.RemoteAddr().String(), s.task); err != nil { - logs.Warn("task id %d get connection from client id %d error %s", s.task.Id, client.Id, err.Error()) + logs.Warn("get connection from client id %d error %s", client.Id, err.Error()) c.Close() return err } else {