From e544fccb5d167ff17f7e5d2ff9bd2196f8bbfa416eeadfc81900c4f1412c428c Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Tue, 16 Apr 2024 15:35:25 +0300 Subject: [PATCH] Ordinary packets can also be same length as cookie --- cmd/server/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index 300ce5a..4b06974 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -396,10 +396,8 @@ func main() { if c, ok := Cookies[cookie]; ok { c <- from close(c) - } else { - slog.Info("unknown cookie", "cookie", cookie) + continue } - continue } sid = buf[0] -- 2.48.1