aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/rspamd_control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/rspamd_control.c')
-rw-r--r--src/libserver/rspamd_control.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/rspamd_control.c b/src/libserver/rspamd_control.c
index 257c743ac..59d1e4234 100644
--- a/src/libserver/rspamd_control.c
+++ b/src/libserver/rspamd_control.c
@@ -524,6 +524,7 @@ rspamd_control_process_client_socket (struct rspamd_main *rspamd_main,
0);
session->rspamd_main = rspamd_main;
session->addr = addr;
+ session->event_loop = rspamd_main->event_loop;
rspamd_http_connection_read_message (session->conn, session,
io_timeout);
}