From be0d8d53340e288d783bfa0b1d51669909607b5f Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Thu, 9 Apr 2026 18:00:15 +0200 Subject: [PATCH] make connection reject msg a debug message, avoiding spam on ddos --- src/TNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TNetwork.cpp b/src/TNetwork.cpp index c3bdc5e..6d15317 100644 --- a/src/TNetwork.cpp +++ b/src/TNetwork.cpp @@ -292,7 +292,7 @@ void TNetwork::TCPServerMain() { std::string ClientIP = ClientEp.address().to_string(); auto MaybeGuard = mConnectionLimiter.TryAcquire(ClientIP); if (!MaybeGuard.has_value()) { - beammp_errorf("Connection rejected for {} due to the global or concurrent connection limit", ClientIP); + beammp_debugf("Connection rejected for {} due to the global or concurrent connection limit", ClientIP); continue; } // move-swap to avoid copy ctor (deleted)