Fix http proxy server

This commit is contained in:
世界 2022-06-06 17:24:50 +08:00
parent 591aceae2e
commit 3eeebf3712
No known key found for this signature in database
GPG key ID: CD109927C34A63C4

View file

@ -131,7 +131,7 @@ func HandleRequest(ctx context.Context, request *http.Request, conn net.Conn, au
}
}
//go:linkname ReadRequest net/http.ReadRequest
//go:linkname ReadRequest net/http.readRequest
func ReadRequest(b *bufio.Reader) (req *http.Request, err error)
func removeHopByHopHeaders(header http.Header) {