From: Sergey Matveev Date: Tue, 16 Apr 2024 12:35:25 +0000 (+0300) Subject: Ordinary packets can also be same length as cookie X-Git-Tag: v2.1.0 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3a397e0ef892a2c3c2a9a9adf118a926312117f73ec09b9385b76e82a0316a6c;p=vors.git Ordinary packets can also be same length as cookie --- 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]