]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Reduce hyperscan_cache_file command from CONTROL_PATHLEN to 64 bytes
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Jan 2026 10:44:42 +0000 (10:44 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Jan 2026 10:44:42 +0000 (10:44 +0000)
commitd1dbf5855e88f189a61bd21581d7ea5de9c15254
tree50115dfeb937314c58e9c29d8ebceb4eb73d2ec3
parent02ba29e93bd9f11f2dd316c69a108f22658dde0b
[Fix] Reduce hyperscan_cache_file command from CONTROL_PATHLEN to 64 bytes

Send only the filename (hash.hs) instead of the full path in the
hyperscan cache notification. Main process reconstructs the full
path using cfg->hs_cache_dir.

This is the last CONTROL_PATHLEN field in rspamd_srv_command.
src/libserver/hyperscan_tools.cxx
src/libserver/rspamd_control.c
src/libserver/rspamd_control.h