bind9/lib/isc/netmgr
Aydın Mercan abc47f5ce4
Expose the TCP client count in statistics channel
The statistics channel does not expose the current number of TCP clients
connected, only the highwater. Therefore, users did not have an easy
means to collect statistics about TCP clients served over time. This
information could only be measured as a seperate mechanism via rndc by
looking at the TCP quota filled.

In order to expose the exact current count of connected TCP clients
(tracked by the "tcp-clients" quota) as a statistics counter, an
extra, dedicated Network Manager callback would need to be
implemented for that purpose (a counterpart of ns__client_tcpconn()
that would be run when a TCP connection is torn down), which is
inefficient. Instead, track the number of currently-connected TCP
clients separately for IPv4 and IPv6, as Network Manager statistics.

(cherry picked from commit 2690dc48d3)
2024-02-27 11:04:28 +03:00
..
http.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
netmgr-int.h Expose the TCP client count in statistics channel 2024-02-27 11:04:28 +03:00
netmgr.c Expose the TCP client count in statistics channel 2024-02-27 11:04:28 +03:00
tcp.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
tcpdns.c Expose the TCP client count in statistics channel 2024-02-27 11:04:28 +03:00
timer.c Change single write timer to per-send timers 2022-03-11 10:52:22 +01:00
tlsdns.c Expose the TCP client count in statistics channel 2024-02-27 11:04:28 +03:00
tlsstream.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
udp.c Split fast and slow task queues 2024-02-01 21:47:29 +01:00
uv-compat.c Add uv_tcp_close_reset compat 2022-02-17 09:47:43 +01:00
uv-compat.h Add parentheses around macro arguement 'msec' 2023-10-20 10:30:48 +11:00
uverr2result.c add a result code for ENOPROTOOPT, EPROTONOSUPPORT 2023-04-21 12:47:07 +02:00