Xray-core/transport/internet/headers/http/linkedreadRequest.go

12 lines
228 B
Go
Raw Permalink Normal View History

2020-11-25 11:01:53 +00:00
package http
import (
"bufio"
"net/http"
_ "unsafe" // required to use //go:linkname
)
//go:linkname readRequest net/http.readRequest
func readRequest(b *bufio.Reader, deleteHostHeader bool) (req *http.Request, err error)