diff options
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index 2a0cadbf1..6153ddd21 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -1172,7 +1172,7 @@ proxy_session_refresh (struct rspamd_proxy_session *session) session->client_addr = NULL; nsession->ctx = session->ctx; nsession->worker = session->worker; - nsession->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), "proxy"); + nsession->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), "proxy", 0); nsession->client_sock = session->client_sock; session->client_sock = -1; nsession->mirror_conns = g_ptr_array_sized_new (nsession->ctx->mirrors->len); @@ -2169,7 +2169,7 @@ proxy_accept_socket (EV_P_ ev_io *w, int revents) session->mirror_conns = g_ptr_array_sized_new (ctx->mirrors->len); session->pool = rspamd_mempool_new (rspamd_mempool_suggest_size (), - "proxy"); + "proxy", 0); session->ctx = ctx; session->worker = worker; |