Https send error bug

pull/103/head
刘河 2019-04-01 13:25:12 +08:00
parent c29dd2ad36
commit b1b91b0c53
1 changed files with 1 additions and 1 deletions

View File

@ -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 {