Skip to content

Commit

Permalink
Add http.parseBasicAuth func stub
Browse files Browse the repository at this point in the history
  • Loading branch information
nekohasekai committed Oct 11, 2023
1 parent c298c7b commit e4d9384
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocol/http/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e4d9384

Please sign in to comment.