github.com/eagleql/xray-core@v1.4.4/transport/internet/headers/http/linkedreadRequest.go (about) 1 package http 2 3 import ( 4 "bufio" 5 "net/http" 6 7 _ "unsafe" // required to use //go:linkname 8 ) 9 10 //go:linkname readRequest net/http.readRequest 11 func readRequest(b *bufio.Reader, deleteHostHeader bool) (req *http.Request, err error)