mihomo/listener/http/hack.go
2021-08-20 23:38:47 +08:00

10 lines
171 B
Go

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