mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-08-30 16:24:37 -04:00
11 lines
227 B
Go
11 lines
227 B
Go
|
package http
|
||
|
|
||
|
import (
|
||
|
"bufio"
|
||
|
"net/http"
|
||
|
_ "unsafe" // required to use //go:linkname
|
||
|
)
|
||
|
|
||
|
//go:linkname readRequest net/http.readRequest
|
||
|
func readRequest(b *bufio.Reader, deleteHostHeader bool) (req *http.Request, err error)
|