From 65a7ac12f596ae065d3d1c7f68f2314764dbc1cf Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 5 Nov 2019 00:05:10 +1000 Subject: Oops, missed a line in the --roundRobin commit. --- mirror-checker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mirror-checker.lua') diff --git a/mirror-checker.lua b/mirror-checker.lua index b4412b8..f4b5142 100755 --- a/mirror-checker.lua +++ b/mirror-checker.lua @@ -238,7 +238,7 @@ checkHEAD = function (host, URL, r, retry) D(PU.scheme .. " :// " .. check .. " " .. host .. " -> " .. URL) if not testing(PU.scheme, host) then D("Not testing " .. PU.scheme .. " " .. host .. " -> " .. URL); return end -- TODO - Perhaps we should try it anyway, and mark it as a warning if it DOES work? - if "https" == PU.scheme and "deb.devuan.org" == host then D("Not testing " .. PU.scheme .. " " .. host .. " -> " .. URL .. " mirrors shouldn't have the correct cert."); return end + if "https" == PU.scheme and options.roundRobin.value == host then D("Not testing " .. PU.scheme .. " " .. host .. " -> " .. URL .. " mirrors shouldn't have the correct cert."); return end local hd = {} if pu.host ~= PU.host then hd = {Host = host} end local htp = http; -- cgit v1.1