-
Mikio Hara authored
When a nil listener address is passed to some protocol specific listen function, it will create an unnamed, unbound socket because of the nil listener address. Other listener functions may return invalid address error. This CL allows to pass a nil listener address to all protocol specific listen functions to fix above inconsistency. Also make it possible to return a proper local socket address in case of a nil listner address. Fixes #4190. Fixes #3847. R=rsc, iant CC=golang-dev https://golang.org/cl/6525048
677c6e6e