Don't throttle services and servers beeing registered
This commit is contained in:
parent
4188a82e76
commit
21cbf37db5
|
@ -1517,6 +1517,8 @@ Read_Request( CONN_ID Idx )
|
||||||
/* Look at the data in the (read-) buffer of this connection */
|
/* Look at the data in the (read-) buffer of this connection */
|
||||||
My_Connections[Idx].bps += Handle_Buffer(Idx);
|
My_Connections[Idx].bps += Handle_Buffer(Idx);
|
||||||
if (Client_Type(c) != CLIENT_SERVER
|
if (Client_Type(c) != CLIENT_SERVER
|
||||||
|
&& Client_Type(c) != CLIENT_UNKNOWNSERVER
|
||||||
|
&& Client_Type(c) != CLIENT_SERVICE
|
||||||
&& My_Connections[Idx].bps >= maxbps) {
|
&& My_Connections[Idx].bps >= maxbps) {
|
||||||
LogDebug("Throttling connection %d: BPS exceeded! (%u >= %u)",
|
LogDebug("Throttling connection %d: BPS exceeded! (%u >= %u)",
|
||||||
Idx, My_Connections[Idx].bps, maxbps);
|
Idx, My_Connections[Idx].bps, maxbps);
|
||||||
|
|
Loading…
Reference in New Issue