0
0
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Update: update error messages for http proxy

This commit is contained in:
N0mansky 2023-04-12 18:17:25 +08:00
parent 1b1dc5cdfe
commit d5e63cd0bf

View file

@ -61,7 +61,7 @@ func NewConnection(address string, timelimit ...time.Duration) (c *Comm, err err
} }
HttpProxyURL, urlParseError := url.Parse(HttpProxy) HttpProxyURL, urlParseError := url.Parse(HttpProxy)
if urlParseError != nil { if urlParseError != nil {
err = fmt.Errorf("unable to parse socks proxy url: %s", urlParseError) err = fmt.Errorf("unable to parse http proxy url: %s", urlParseError)
log.Debug(err) log.Debug(err)
return return
} }