mirror of
https://github.com/fatedier/frp.git
synced 2025-07-27 07:35:07 +00:00
frpc: add support for connecting server through http proxies, see #67
This commit is contained in:
@@ -19,7 +19,7 @@ var (
|
||||
)
|
||||
|
||||
func TestEchoServer(t *testing.T) {
|
||||
c, err := conn.ConnectServer("0.0.0.0", ECHO_PORT)
|
||||
c, err := conn.ConnectServer(fmt.Sprintf("0.0.0.0:%d", ECHO_PORT))
|
||||
if err != nil {
|
||||
t.Fatalf("connect to echo server error: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user