d2edca62de
The call to http.Server.Shutdown in main.go that happens on os.Interrupt closes listeners. Remove racey code and format network/network.go. Running Listener.Accept in a loop is not necessary as the stdlib expects SA_RESTART to be set for signal handlers. |
||
---|---|---|
.. | ||
network.go |