mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-10 11:03:11 +00:00
12 lines
203 B
Go
12 lines
203 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)
|