mihomo/listener/http/hack.go
2021-06-15 17:13:40 +08:00

10 lines
194 B
Go

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