commit 21cbf37db5647159eced6ed1275e0e2e6980155c from: Alexander Barton date: Wed Dec 29 13:12:34 2010 UTC Don't throttle services and servers beeing registered commit - 4188a82e7674a46903c87e257ebbeeb013dc8146 commit + 21cbf37db5647159eced6ed1275e0e2e6980155c blob - 9daca8531b34bef97a30d63290fdd1eee7df4498 blob + 73a66bbb469cdc8f72d33574144b0ee3e1e7f293 --- src/ngircd/conn.c +++ 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);