mihomo/listener/http/hack.go

11 lines
194 B
Go
Raw 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, deleteHostHeader bool) (req *http.Request, err error)