From a8bb7baa45ad7b55858e4724e83aa3ad22636a36 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 20 Dec 2013 15:55:14 +0000 Subject: [PATCH] Add dns_sockets option to configuration (16 is default setting). --- src/cfg_rcl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cfg_rcl.c b/src/cfg_rcl.c index 5860e13c7..e8cb66800 100644 --- a/src/cfg_rcl.c +++ b/src/cfg_rcl.c @@ -1033,6 +1033,8 @@ rspamd_rcl_config_init (void) G_STRUCT_OFFSET (struct config_file, dns_timeout), RSPAMD_CL_FLAG_TIME_INTEGER); rspamd_rcl_add_default_handler (sub, "dns_retransmits", rspamd_rcl_parse_struct_integer, G_STRUCT_OFFSET (struct config_file, dns_retransmits), RSPAMD_CL_FLAG_INT_32); + rspamd_rcl_add_default_handler (sub, "dns_sockets", rspamd_rcl_parse_struct_integer, + G_STRUCT_OFFSET (struct config_file, dns_io_per_server), RSPAMD_CL_FLAG_INT_32); rspamd_rcl_add_default_handler (sub, "raw_mode", rspamd_rcl_parse_struct_boolean, G_STRUCT_OFFSET (struct config_file, raw_mode), 0); rspamd_rcl_add_default_handler (sub, "one_shot", rspamd_rcl_parse_struct_boolean, -- 2.39.5