aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index 39235c2..caa72ca 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -551,15 +551,11 @@ local checkFiles = function (host, ip, path, file)
551 I(" Checking IP for file " .. host .. " -> " .. ip .. " " .. path .. " " .. file) 551 I(" Checking IP for file " .. host .. " -> " .. ip .. " " .. path .. " " .. file)
552 if checkTimeouts(host, "http", ip .. path .. "/" .. file) then return end 552 if checkTimeouts(host, "http", ip .. path .. "/" .. file) then return end
553 if checkTimeouts(host, "https", ip .. path .. "/" .. file) then return end 553 if checkTimeouts(host, "https", ip .. path .. "/" .. file) then return end
554-- if testing("http", host) then checkHEAD(host, "http://" .. ip .. path .. "/" .. file); if checkTimeouts(host, "http" ) then return end; end
555-- if testing("https", host) then checkHEAD(host, "https://" .. ip .. path .. "/" .. file); if checkTimeouts(host, "https") then return end; end
556 else 554 else
557 I(" Checking IP " .. host .. " -> " .. ip .. " " .. path) 555 I(" Checking IP " .. host .. " -> " .. ip .. " " .. path)
558 for i, s in pairs(referenceDevs) do 556 for i, s in pairs(referenceDevs) do
559 if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end 557 if checkTimeouts(host, "http", ip .. path .. "/" .. s) then return end
560 if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end 558 if checkTimeouts(host, "https", ip .. path .. "/" .. s) then return end
561-- if testing("http", host) then checkHEAD(host, "http://" .. ip .. path .. "/" .. s); if checkTimeouts(host, "http" ) then return end; end
562-- if testing("https", host) then checkHEAD(host, "https://" .. ip .. path .. "/" .. s); if checkTimeouts(host, "https") then return end; end
563 end 559 end
564 560
565 for i, s in pairs(releases) do 561 for i, s in pairs(releases) do