刘河 преди 6 години
родител
ревизия
b1b91b0c53
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      server/proxy/base.go

+ 1 - 1
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 {