mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
Proper accounting of active TCP connections
This commit is contained in:
committed by
Witold Krecicki
parent
71b05e3e0f
commit
fc9e2276ca
@@ -369,7 +369,16 @@ struct isc_nmsocket {
|
||||
*/
|
||||
isc_quota_t *quota;
|
||||
isc_quota_t *pquota;
|
||||
bool overquota;
|
||||
|
||||
/*%
|
||||
* How many connections we have not accepted due to quota?
|
||||
* When we close a connection we need to accept a new one.
|
||||
*/
|
||||
int overquota;
|
||||
/*%
|
||||
* How many active connections we have?
|
||||
*/
|
||||
int conns;
|
||||
|
||||
/*%
|
||||
* Socket statistics
|
||||
|
Reference in New Issue
Block a user