刘河 6 vuotta sitten
vanhempi
commit
2c608ddb7f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      server/proxy/base.go

+ 1 - 0
server/proxy/base.go

@@ -47,6 +47,7 @@ func (s *server) linkCopy(link *conn.Link, c *conn.Conn, rb []byte, tunnel *conn
 			return
 		}
 		flow.Add(len(rb), 0)
+		<-link.StatusCh
 	}
 
 	buf := pool.BufPoolCopy.Get().([]byte)