diff --git a/protocol/http/link.go b/protocol/http/link.go index 19cb6cfa..554c9c97 100644 --- a/protocol/http/link.go +++ b/protocol/http/link.go @@ -12,3 +12,6 @@ func ReadRequest(b *bufio.Reader) (req *http.Request, err error) //go:linkname URLSetPath net/url.(*URL).setPath func URLSetPath(u *url.URL, p string) error + +//go:linkname ParseBasicAuth net/http.parseBasicAuth +func ParseBasicAuth(auth string) (username, password string, ok bool)