Scale the DNS random scket pool on the value of dns-forward-max.

This commit is contained in:
Simon Kelley committed 2021-03-26 22:02:04 +00:00
1 parent 4a8c098840
commit ea28d0ef8a
5 files changed
+21 -10

No files matched your search

+2 -1
View File
@@ -1130,7 +1130,8 @@ extern struct daemon {
pid_t tcp_pids[MAX_PROCS];
int tcp_pipes[MAX_PROCS];
int pipe_to_parent;
struct randfd randomsocks[RANDOM_SOCKS];
int numrrand;
struct randfd *randomsocks;
struct randfd_list *rfl_spare, *rfl_poll;
int v6pktinfo;
struct addrlist *interface_addrs; /* list of all addresses/prefix lengths associated with all local interfaces */