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 {