From 92da062c028f4a6546a938631e7574e324040274 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 19 Apr 2013 17:07:10 +0200 Subject: Immediately stop processing whenever we detect and handle a RecvQ overrun Thanks to @SimosNap for the report and cooperation --- src/users.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/users.cpp b/src/users.cpp index adfa7642c..dbc3ea444 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -455,6 +455,7 @@ void UserIOHandler::OnDataReady() ServerInstance->Users->QuitUser(user, "RecvQ exceeded"); ServerInstance->SNO->WriteToSnoMask('a', "User %s RecvQ of %lu exceeds connect class maximum of %lu", user->nick.c_str(), (unsigned long)recvq.length(), user->MyClass->GetRecvqMax()); + return; } unsigned long sendqmax = ULONG_MAX; if (!user->HasPrivPermission("users/flood/increased-buffers")) -- cgit v1.2.3