diff options
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c index 98473b003..60c39b2af 100644 --- a/src/worker.c +++ b/src/worker.c @@ -340,6 +340,7 @@ accept_socket (gint fd, short what, void *arg) RSPAMD_HTTP_SERVER, ctx->keys_cache, NULL); + rspamd_http_connection_set_max_size (task->http_conn, task->cfg->max_message); task->ev_base = ctx->ev_base; worker->nconns++; rspamd_mempool_add_destructor (task->task_pool, |