Xray-core/transport/internet/headers/http/linkedreadRequest.go

12 lines
203 B
Go
Raw Permalink Normal View History

2020-11-25 11:01:53 +00:00
package http
import (
"bufio"
"net/http"
// required to use go:linkname
_ "unsafe"
2020-11-25 11:01:53 +00:00
)
//go:linkname readRequest net/http.readRequest
2021-09-07 17:30:20 +00:00
func readRequest(b *bufio.Reader) (req *http.Request, err error)