diff --git a/net/net.go b/net/net.go index 14a39c7..9a53224 100644 --- a/net/net.go +++ b/net/net.go @@ -204,6 +204,9 @@ func ServiceConnections(listener net.Listener, p2id participant2ID, l Logger) (< for atomic.LoadUint32(&stopFlag) == 0 { conn, err := listener.Accept() if err != nil { + if ne, ok := err.(net.Error); ok && ne.Temporary() { + continue + } return }