diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 17:54:25 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-01 17:54:25 +0400 |
commit | 9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790 (patch) | |
tree | cc5ff370a6a37532ddb17e5abef8eda56f4e431c /src/cfg_utils.c | |
parent | 83cc70ff18209116bd486b4932f206dd5a3fd83f (diff) | |
download | rspamd-9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790.tar.gz rspamd-9ac84380ce6d4ceb40bc0f4ca10c8c2ce8818790.zip |
* Add resolv.conf parsing into dns.c
* Fix microseconds<->milliseconds conversions
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r-- | src/cfg_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c index 26730305e..210bbb5f7 100644 --- a/src/cfg_utils.c +++ b/src/cfg_utils.c @@ -168,6 +168,9 @@ init_defaults (struct config_file *cfg) cfg->memcached_maxerrors = DEFAULT_UPSTREAM_MAXERRORS; cfg->memcached_protocol = TCP_TEXT; + cfg->dns_timeout = 1000; + cfg->dns_retransmits = 5; + cfg->max_statfile_size = DEFAULT_STATFILE_SIZE; cfg->modules_opts = g_hash_table_new (g_str_hash, g_str_equal); |