diff options
Diffstat (limited to '')
-rwxr-xr-x | mirror-checker.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
238 | D(PU.scheme .. " :// " .. check .. " " .. host .. " -> " .. URL) | 238 | D(PU.scheme .. " :// " .. check .. " " .. host .. " -> " .. URL) |
239 | if not testing(PU.scheme, host) then D("Not testing " .. PU.scheme .. " " .. host .. " -> " .. URL); return end | 239 | if not testing(PU.scheme, host) then D("Not testing " .. PU.scheme .. " " .. host .. " -> " .. URL); return end |
240 | -- TODO - Perhaps we should try it anyway, and mark it as a warning if it DOES work? | 240 | -- TODO - Perhaps we should try it anyway, and mark it as a warning if it DOES work? |
241 | 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 | 241 | 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 |
242 | local hd = {} | 242 | local hd = {} |
243 | if pu.host ~= PU.host then hd = {Host = host} end | 243 | if pu.host ~= PU.host then hd = {Host = host} end |
244 | local htp = http; | 244 | local htp = http; |