diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-17 17:01:59 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-17 17:02:45 +0100 |
commit | be3414a88cc7dbd8b34f24b4121ccab5fc9aff7c (patch) | |
tree | 6fb8f489345398c7b8d00230601b4b7b1d7d7179 /src/rspamd_proxy.c | |
parent | f4acd9ba6f492526a2364c814c8a4704b7f8f8ce (diff) | |
download | rspamd-be3414a88cc7dbd8b34f24b4121ccab5fc9aff7c.tar.gz rspamd-be3414a88cc7dbd8b34f24b4121ccab5fc9aff7c.zip |
[Feature] Execute on_load scripts with ev_base ready
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 151d1b731..0b5a5607b 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1445,7 +1445,8 @@ start_rspamd_proxy (struct rspamd_worker *worker) struct timeval rot_tv; ctx->ev_base = rspamd_prepare_worker (worker, "rspamd_proxy", - proxy_accept_socket); + proxy_accept_socket, + TRUE); ctx->resolver = dns_resolver_init (worker->srv->logger, ctx->ev_base, |