1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/transport/internet/headers/http/linkedreadRequest.go
2021-11-06 22:09:26 +08:00

13 lines
204 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) (req *http.Request, err error)