From d3b7094ec47a5df6b68087c1c9c5cdef364c6188 Mon Sep 17 00:00:00 2001 From: hwipl <33433250+hwipl@users.noreply.github.com> Date: Wed, 20 Dec 2023 19:49:55 +0100 Subject: [PATCH] Add missing return to request handling in Socket API server Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com> --- internal/api/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/server.go b/internal/api/server.go index 1a80e8f..2a73cf6 100644 --- a/internal/api/server.go +++ b/internal/api/server.go @@ -66,6 +66,7 @@ func (s *Server) handleRequest(conn net.Conn) { log.WithError(err).Error("Daemon message send error") } _ = conn.Close() + return } // forward client's request to daemon