github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/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)