mirror of
https://github.com/ehang-io/nps.git
synced 2025-10-19 11:43:55 +00:00
P2p first version
This commit is contained in:
@@ -148,7 +148,7 @@ func (s *Sock5ModeServer) doConnect(c net.Conn, command uint8) {
|
||||
return
|
||||
} else {
|
||||
s.sendReply(c, succeeded)
|
||||
link.Run(true)
|
||||
link.RunWrite()
|
||||
s.linkCopy(link, conn.NewConn(c), nil, tunnel, s.task.Flow)
|
||||
}
|
||||
return
|
||||
|
Reference in New Issue
Block a user