• 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
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...