1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-27 20:46:51 -05:00
v2fly/transport/internet/headers/http/linkedreadRequest.go
2021-05-19 20:41:23 +08:00

13 lines
227 B
Go

package http
import (
"bufio"
"net/http"
// required to use go:linkname
_ "unsafe"
)
//go:linkname readRequest net/http.readRequest
func readRequest(b *bufio.Reader, deleteHostHeader bool) (req *http.Request, err error)