Explorar o código

utils/conn: typo

fatedier %!s(int64=8) %!d(string=hai) anos
pai
achega
46ee2f2bc8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/utils/conn/conn.go

+ 1 - 1
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
 	}