You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
net.Listen being able to handle IPv6 addresses not wrapped in square brackets
What did you see instead?
error: too many colons in address
I think either net.Listen has to handle IPv6 addresses the way net.ParseIP does, or otherwise net.ParseIP has to return an error on IPv6 addresses not wrapped in square brackets.
The text was updated successfully, but these errors were encountered:
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Listen to the address
::1
https://go.dev/play/p/RA_UpIcsvtp?v=gotip
What did you expect to see?
net.Listen being able to handle IPv6 addresses not wrapped in square brackets
What did you see instead?
error:
too many colons in address
I think either
net.Listen
has to handle IPv6 addresses the waynet.ParseIP
does, or otherwisenet.ParseIP
has to return an error on IPv6 addresses not wrapped in square brackets.The text was updated successfully, but these errors were encountered: