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/rspamd_proxy.c | |
parent | 3a1974cf17f235b7bbb98de714fe0210ddb2c596 (diff) | |
download | rspamd-34cc551018df1c174685493a64b496d594cc8eb6.tar.gz rspamd-34cc551018df1c174685493a64b496d594cc8eb6.zip |
[Project] Preliminary support of HTTP proxies
Issue: #572
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 e83426673..446552b81 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -2177,7 +2177,8 @@ start_rspamd_proxy (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); if (ctx->has_self_scan) { /* Additional initialisation needed */ |