|
|
|
|
|
|
|
|
static struct rspamd_srv_command srv_cmd; |
|
|
static struct rspamd_srv_command srv_cmd; |
|
|
gint ncompiled; |
|
|
gint ncompiled; |
|
|
|
|
|
|
|
|
|
|
|
if (!(ctx->cfg->libs_ctx->crypto_ctx->cpu_config & CPUID_SSSE3)) { |
|
|
|
|
|
msg_warn ("CPU doesn't have SSSE3 instructions set " |
|
|
|
|
|
"required for hyperscan, disable hyperscan compilation"); |
|
|
|
|
|
return FALSE; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
if (!rspamd_hs_helper_cleanup_dir (ctx, forced)) { |
|
|
if (!rspamd_hs_helper_cleanup_dir (ctx, forced)) { |
|
|
msg_warn ("cannot cleanup cache dir '%s'", ctx->hs_dir); |
|
|
msg_warn ("cannot cleanup cache dir '%s'", ctx->hs_dir); |
|
|
} |
|
|
} |