frpc: add support for connecting server through http proxies, see #67

This commit is contained in:
fatedier committed 2016-08-15 00:55:22 +08:00
1 parent 47c1a3e52c
commit e262ac6abd
6 files changed
+72 -6

No files matched your search

+1 -1
View File
@@ -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)
}