]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[DNM] Test PR for TCP support
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 21 Oct 2025 13:46:27 +0000 (14:46 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 23 Oct 2025 10:25:23 +0000 (11:25 +0100)
conf/modules.d/fuzzy_check.conf
conf/worker-fuzzy.inc
test/integration/configs/fuzzy_check.conf
test/integration/configs/worker-fuzzy.inc

index 73e280f7958471e65d236f232cdd2154cce5902a..21c894211f9718f85f898db90d6127322ee7474d 100644 (file)
@@ -20,6 +20,7 @@ fuzzy_check {
     algorithm = "mumhash";
     servers = "round-robin:fuzzy1.rspamd.com:11335,fuzzy2.rspamd.com:11335";
     encryption_key = "icy63itbhhni8bq15ntp5n5symuixf73s1kpjh6skaq4e7nx5fiy";
+    use_tcp = true;
     symbol = "FUZZY_UNKNOWN";
     mime_types = ["*"];
     max_score = 20.0;
index 5cf788c085bcaa2b6a46203e197a0a09c13de717..cdb30df0748af7fdcc4ec12b5208e1c3c7f2e348 100644 (file)
@@ -13,6 +13,7 @@
 # Module documentation: https://rspamd.com/doc/workers/fuzzy_storage.html
 
 backend = "redis";
+use_tcp = true;
 
 # For sqlite stuff
 #backend = "sqlite";
index 57654ac4e151a45349bbe96ee7efd18dc3d03cb9..985f2bbce9912028d5c8bb06d7e2c2a9f3ce036b 100644 (file)
@@ -7,6 +7,7 @@ retransmits = 3;
 rule "rspamd-integration" {
     algorithm = "mumhash";
     servers = "rspamd:50003";
+    use_tcp = true;
 
     # Encryption settings
     encryption_key = "{= env.FUZZY_ENCRYPTION_KEY =}";
index 67a03b6453130b01b7b7200a3b959f1ac2606d23..20ace8a8b05af33ae1bcd4c9c85bc0eda0dcee1c 100644 (file)
@@ -1,6 +1,7 @@
 #Fuzzy storage worker configuration
 
 bind_socket = "*:50003";
+use_tcp = true;
 count = 1;
 backend = "redis";
 hashfile = "/var/lib/rspamd/fuzzy.db";