mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
健康检查
This commit is contained in:
@@ -109,7 +109,7 @@ type process func(c *conn.Conn, s *TunnelModeServer) error
|
||||
|
||||
//tcp隧道模式
|
||||
func ProcessTunnel(c *conn.Conn, s *TunnelModeServer) error {
|
||||
return s.DealClient(c, s.task.Target, nil, common.CONN_TCP)
|
||||
return s.DealClient(c, s.task.GetRandomTarget(), nil, common.CONN_TCP)
|
||||
}
|
||||
|
||||
//http代理模式
|
||||
|
Reference in New Issue
Block a user