Descriptiongo.net/proxy: Don't pass invalid hostname length to SOCKS5 proxies
SOCKS5 uses a single-byte field for hostname length. This change
causes dials to hostnames longer than 255 chars to fail instead
of sending an invalid request to the proxy.
Patch Set 1 #Patch Set 2 : diff -r cdbc77c5e006 https://code.google.com/p/go.net #Patch Set 3 : diff -r cdbc77c5e006 https://code.google.com/p/go.net #MessagesTotal messages: 3
|