From 0f8cfd70222e7b90259be3390fdd4b603aa1114f Mon Sep 17 00:00:00 2001 From: bol-van Date: Sun, 7 Dec 2025 19:59:31 +0300 Subject: [PATCH] zapret-lib: remove duplicate function --- lua/zapret-lib.lua | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lua/zapret-lib.lua b/lua/zapret-lib.lua index f8d57f7..5db7c35 100644 --- a/lua/zapret-lib.lua +++ b/lua/zapret-lib.lua @@ -571,17 +571,6 @@ function dissect_nld(domain, level) end return nil end --- location is url compatible with Location: header --- hostname is original hostname -function is_dpi_redirect(hostname, location) - local ds = dissect_url(location) - if ds.domain then - local sld1 = dissect_nld(hostname,2) - local sld2 = dissect_nld(ds.domain,2) - return sld2 and sld1~=sld2 - end - return false -end -- support sni=%var function tls_mod_shim(desync, blob, modlist, payload)