Descriptionnet: protocol specific listen functions return a proper local socket address
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 issue 4190.
Fixes issue 3847.
Patch Set 1 : diff -r 284f6a1e531b https://go.googlecode.com/hg/ #
Total comments: 3
Patch Set 2 : diff -r ad0d92901061 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r b661b713984f https://go.googlecode.com/hg/ #Patch Set 4 : diff -r b4a8d6b52a2f https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 90e59cec3396 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 422c00e8e022 https://go.googlecode.com/hg/ #
Total comments: 4
Patch Set 7 : diff -r 0b46d6fe2f1c https://go.googlecode.com/hg/ #
MessagesTotal messages: 13
|