commit | 6fbe80572e96745fc360c74f2f1c6e878afe436b | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Feb 15 01:59:18 2012 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Wed Feb 15 01:59:18 2012 +0900 |
tree | dde97ba93139e554c4fef56bb879f40ddd4bc0f2 | |
parent | 60e4d5668e80457023a3432752b2889fb73b89bf [diff] |
net: prefer an IPv4 listen if no address given This CL avoids net.Listen("tcp", ":80"), http.ListenAdnServe(":80") prefer an IPv6 listen. R=rsc CC=golang-dev https://golang.org/cl/5669043