• Mikio Hara's avatar
    net: avoid use of listener socket options on active open sockets · 4b7bf73c
    Mikio Hara authored
    This CL ensures we use the correct socket options for
    passive and active open sockets.
    
    For the passive open sockets created by Listen functions,
    additional SO_REUSEADDR, SO_REUSEPORT options are required
    for the quick service restart and/or multicasting.
    
    For the active open sockets created by Dial functions, no
    additional options are required.
    
    R=golang-dev, dave, bradfitz, rsc
    CC=golang-dev
    https://golang.org/cl/7795050
    4b7bf73c
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...
race.bash Loading commit data...
race.bat Loading commit data...
run.bash Loading commit data...
run.bat Loading commit data...
run.rc Loading commit data...
sudo.bash Loading commit data...