mirror of
https://github.com/containers/skopeo.git
synced 2025-09-23 02:48:26 +00:00
Update to image-spec v1.0.0 and revendor
This commit is contained in:
2
vendor/golang.org/x/net/proxy/socks5.go
generated
vendored
2
vendor/golang.org/x/net/proxy/socks5.go
generated
vendored
@@ -154,7 +154,7 @@ func (s *socks5) connect(conn net.Conn, target string) error {
|
||||
buf = append(buf, ip...)
|
||||
} else {
|
||||
if len(host) > 255 {
|
||||
return errors.New("proxy: destination hostname too long: " + host)
|
||||
return errors.New("proxy: destination host name too long: " + host)
|
||||
}
|
||||
buf = append(buf, socks5Domain)
|
||||
buf = append(buf, byte(len(host)))
|
||||
|
Reference in New Issue
Block a user