mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-09-06 16:29:19 +03:00
12 lines
205 B
Go
12 lines
205 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) (req *http.Request, err error)
|