From: Alexander Barton Date: Wed, 29 Dec 2010 13:12:34 +0000 (+0100) Subject: Don't throttle services and servers beeing registered X-Git-Tag: rel-18-rc1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=21cbf37db5647159eced6ed1275e0e2e6980155c;p=ngircd Don't throttle services and servers beeing registered --- diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 9daca853..73a66bbb 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -1517,6 +1517,8 @@ Read_Request( CONN_ID Idx ) /* Look at the data in the (read-) buffer of this connection */ My_Connections[Idx].bps += Handle_Buffer(Idx); if (Client_Type(c) != CLIENT_SERVER + && Client_Type(c) != CLIENT_UNKNOWNSERVER + && Client_Type(c) != CLIENT_SERVICE && My_Connections[Idx].bps >= maxbps) { LogDebug("Throttling connection %d: BPS exceeded! (%u >= %u)", Idx, My_Connections[Idx].bps, maxbps);