Skip to content

Close all the stablished connections when Close() is called

meskio requested to merge close_conns into master

Closing the net.Listener doesn't close the stablished connections. This creates a problem in fast reconnections because the port is still in use and the new Open() will fail if we don't close all connections.

Merge request reports