clash/listener/http/hack.go

11 lines
171 B
Go
Raw Permalink Normal View History

2021-06-15 17:13:40 +08:00
package http
import (
"bufio"
"net/http"
_ "unsafe"
)
//go:linkname ReadRequest net/http.readRequest
func ReadRequest(b *bufio.Reader) (req *http.Request, err error)