github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/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)