From 46ee2f2bc83885de01efcee6d1e7ace8ae5003b3 Mon Sep 17 00:00:00 2001 From: fatedier Date: Wed, 17 Aug 2016 10:07:16 +0800 Subject: [PATCH] utils/conn: typo --- src/utils/conn/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/conn/conn.go b/src/utils/conn/conn.go index fb61707f..2434a089 100644 --- a/src/utils/conn/conn.go +++ b/src/utils/conn/conn.go @@ -143,7 +143,7 @@ func ConnectServerByHttpProxy(httpProxy string, serverAddr string) (c *Conn, err return } - req, err := http.NewRequest("CONNECT", "https://"+serverAddr, nil) + req, err := http.NewRequest("CONNECT", "http://"+serverAddr, nil) if err != nil { return }