aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/http_router.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/http_router.c b/src/libutil/http_router.c
index be45c4351..e9dc48962 100644
--- a/src/libutil/http_router.c
+++ b/src/libutil/http_router.c
@@ -389,6 +389,7 @@ rspamd_http_router_new (rspamd_http_router_error_handler_t eh,
new->finish_handler = fh;
new->response_headers = g_hash_table_new_full (rspamd_strcase_hash,
rspamd_strcase_equal, g_free, g_free);
+ new->ev_base = ctx->ev_base;
if (timeout) {
new->tv = *timeout;