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 21, 2023
1 parent 27518fd commit 8002db5
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 8002db5

Please sign in to comment.