From 79f85fda9b40fe86c124ddd235f35f707ed255c5 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Thu, 22 Oct 2020 09:59:55 -0700 Subject: [PATCH] bug fix: return if found error --- src/tcp/tcp.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tcp/tcp.go b/src/tcp/tcp.go index 85726817..38f5dbe2 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