From 64c617d7e7c1de08e1d1c50f53704e21958b0da4 Mon Sep 17 00:00:00 2001 From: bboysoul <31786046+bboysoulcn@users.noreply.github.com> Date: Tue, 29 Jun 2021 11:25:57 +0800 Subject: [PATCH] Update https.go --- server/proxy/https.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proxy/https.go b/server/proxy/https.go index 1081740..962f9a5 100644 --- a/server/proxy/https.go +++ b/server/proxy/https.go @@ -177,7 +177,7 @@ func GetServerNameFromClientHello(c net.Conn) (string, []byte) { } // build https request -func buildHttpsRequest(hostName string, c) *http.Request { +func buildHttpsRequest(hostName string, c net.Conn) *http.Request { r := new(http.Request) r.RequestURI = "/" r.URL = new(url.URL)