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