commit f11009e: [Minor] Add `upstream` field

Vsevolod Stakhov vsevolod at rspamd.com
Mon Nov 28 22:21:03 UTC 2022


Author: Vsevolod Stakhov
Date: 2022-11-28 22:20:16 +0000
URL: https://github.com/rspamd/rspamd/commit/f11009eaed8417cf741047bbbd76b47eff7d6c28 (HEAD -> master)

[Minor] Add `upstream` field

---
 lualib/lua_scanners/kaspersky_se.lua | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua
index 63aa4970a..b0031ad69 100644
--- a/lualib/lua_scanners/kaspersky_se.lua
+++ b/lualib/lua_scanners/kaspersky_se.lua
@@ -183,6 +183,7 @@ local function kaspersky_se_check(task, content, digest, rule, maybe_part)
           lua_util.debugm(rule.name, task, '%s: retry IP: %s:%s',
               rule.log_prefix, addr, addr:get_port())
           request_data.url = url
+          request_data.upstream = upstream
 
           http.request(request_data)
         else


More information about the Commits mailing list