From: Vsevolod Stakhov Date: Fri, 20 Dec 2013 15:55:14 +0000 (+0000) Subject: Add dns_sockets option to configuration (16 is default setting). X-Git-Tag: 0.6.5~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8bb7baa45ad7b55858e4724e83aa3ad22636a36;p=rspamd.git Add dns_sockets option to configuration (16 is default setting). --- 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,