diff --git a/src/tcp/tcp.go b/src/tcp/tcp.go index 8572681..38f5dbe 100644 --- a/src/tcp/tcp.go +++ b/src/tcp/tcp.go @@ -102,6 +102,7 @@ func (s *server) run() (err error) { room, errCommunication := s.clientCommunication(port, c) if errCommunication != nil { log.Debugf("relay-%s: %s", connection.RemoteAddr().String(), errCommunication.Error()) + return } for { // check connection