]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Add `upstream` field
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 28 Nov 2022 22:20:16 +0000 (22:20 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 28 Nov 2022 22:20:16 +0000 (22:20 +0000)
lualib/lua_scanners/kaspersky_se.lua

index 63aa4970a2189bc629bd3244cfd0ab6b2a1df63d..b0031ad69ca0273214eff1bec5a270eb114e58a8 100644 (file)
@@ -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