This commit is contained in:
esrrhs committed 2019-10-27 18:16:57 +08:00
1 parent 6ad90d18aa
commit 79a278a90f
5 files changed
+233 -139

No files matched your search

+1 -1
View File
@@ -185,7 +185,7 @@ func (p *Server) RecvTCP(conn *ServerConn, id string, src *net.IPAddr) {
loggo.Info("start wait remote connect tcp %s %s", conn.id, conn.tcpaddrTarget.String())
startConnectTime := time.Now()
for {
if conn.fm.IsRemoteConnected() {
if conn.fm.IsConnected() {
break
}
conn.fm.Update()