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)