diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-18 14:07:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-03-18 14:07:32 +0000 |
commit | 34cc551018df1c174685493a64b496d594cc8eb6 (patch) | |
tree | ed4753582c271eade91013b53e6ae4b7fcdc4483 /src/worker.c | |
parent | 3a1974cf17f235b7bbb98de714fe0210ddb2c596 (diff) | |
download | rspamd-34cc551018df1c174685493a64b496d594cc8eb6.tar.gz rspamd-34cc551018df1c174685493a64b496d594cc8eb6.zip |
[Project] Preliminary support of HTTP proxies
Issue: #572
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/worker.c b/src/worker.c index 77614ec13..40e3d07f9 100644 --- a/src/worker.c +++ b/src/worker.c @@ -692,7 +692,8 @@ start_worker (struct rspamd_worker *worker) rspamd_upstreams_library_config (worker->srv->cfg, ctx->cfg->ups_ctx, ctx->ev_base, ctx->resolver->r); - ctx->http_ctx = rspamd_http_context_create (ctx->cfg, ctx->ev_base); + ctx->http_ctx = rspamd_http_context_create (ctx->cfg, ctx->ev_base, + ctx->cfg->ups_ctx); rspamd_worker_init_scanner (worker, ctx->ev_base, ctx->resolver, &ctx->lang_det); rspamd_lua_run_postloads (ctx->cfg->lua_state, ctx->cfg, ctx->ev_base, |