github.com/igoogolx/clash@v1.19.8/listener/http/hack.go (about)

     1  package http
     2  
     3  import (
     4  	"bufio"
     5  	"net/http"
     6  	_ "unsafe"
     7  )
     8  
     9  //go:linkname ReadRequest net/http.readRequest
    10  func ReadRequest(b *bufio.Reader) (req *http.Request, err error)