summaryrefslogtreecommitdiffstats
path: root/src/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-18 11:11:36 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-12-18 11:11:36 +0000
commitbab9cbb4683069f7b00daf11581b578f1d17ae0b (patch)
tree494003eaa4d4e4a119006516af521b470d39e88a /src/cfg_file.h
parentaa1438ae5a373d9775c228443e30da6e41df8ae9 (diff)
downloadrspamd-bab9cbb4683069f7b00daf11581b578f1d17ae0b.tar.gz
rspamd-bab9cbb4683069f7b00daf11581b578f1d17ae0b.zip
Use sockets pool for DNS requests.
Inspired by: Vadim Goncharov
Diffstat (limited to 'src/cfg_file.h')
-rw-r--r--src/cfg_file.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cfg_file.h b/src/cfg_file.h
index ed45d7d95..41c37bd34 100644
--- a/src/cfg_file.h
+++ b/src/cfg_file.h
@@ -36,9 +36,6 @@
#define DEFAULT_SCORE 10.0
#define DEFAULT_REJECT_SCORE 999.0
-#define yyerror parse_err
-#define yywarn parse_warn
-
struct expression;
struct tokenizer;
struct classifier;
@@ -379,6 +376,7 @@ struct config_file {
guint32 dns_retransmits; /**< maximum retransmits count */
guint32 dns_throttling_errors; /**< maximum errors for starting resolver throttling */
guint32 dns_throttling_time; /**< time in seconds for DNS throttling */
+ guint32 dns_io_per_server; /**< number of sockets per DNS server */
GList *nameservers; /**< list of nameservers or NULL to parse resolv.conf */
};