Update https.go

pull/825/head
bboysoul 2021-06-29 11:25:57 +08:00 committed by GitHub
parent 147a1b2714
commit 64c617d7e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)