From 30044e8c617c8d495ae5710b9b4b7343a7fcc251 Mon Sep 17 00:00:00 2001 From: bol-van Date: Thu, 22 Jan 2026 23:02:54 +0300 Subject: [PATCH] zapret-auto: check track --- lua/zapret-auto.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/zapret-auto.lua b/lua/zapret-auto.lua index 43c2679..9ed5ed1 100644 --- a/lua/zapret-auto.lua +++ b/lua/zapret-auto.lua @@ -179,7 +179,7 @@ function standard_failure_detector(desync, crec) DLOG("standard_failure_detector: not counting incoming RST s"..seq.." beyond s"..arg.inseq) end end - elseif not arg.no_http_redirect and desync.l7payload=="http_reply" and desync.track.hostname then + elseif not arg.no_http_redirect and desync.l7payload=="http_reply" and desync.track and desync.track.hostname then local hdis = http_dissect_reply(desync.dis.payload) if hdis and (hdis.code==302 or hdis.code==307) then local idx_loc = array_field_search(hdis.headers, "header_low", "location") @@ -341,7 +341,7 @@ function circular(ctx, desync) orchestrate(ctx, desync) if not desync.track then - DLOG("circular: conntrack is missing but required") + DLOG_ERR("circular: conntrack is missing but required") return end