mirror of
https://github.com/golang/net.git
synced 2026-03-31 18:37:08 +09:00
SOCKS5 uses a single-byte field for domain name length. This change causes dials to domain names longer than 255 chars to fail instead of sending an invalid request to the proxy. LGTM=mikioh.mikioh R=golang-codereviews, mikioh.mikioh CC=golang-codereviews https://golang.org/cl/90790044