• Mikio Hara's avatar
    net: protocol specific listen functions return a proper local socket address · 677c6e6e
    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
Name
Last commit
Last update
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.dist Loading commit data...
all.bash Loading commit data...
all.bat Loading commit data...
all.rc Loading commit data...
clean.bash Loading commit data...
clean.bat Loading commit data...
clean.rc Loading commit data...
make.bash Loading commit data...
make.bat Loading commit data...
make.rc Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...