aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mirror-checker.lua
diff options
context:
space:
mode:
authoronefang2019-11-05 00:05:10 +1000
committeronefang2019-11-05 00:05:10 +1000
commit65a7ac12f596ae065d3d1c7f68f2314764dbc1cf (patch)
tree4edb4db77712d66fed62ee977c58cb80aeb7271a /mirror-checker.lua
parentDisable the currently unwritten DNS-RR test. (diff)
downloadapt-panopticon-65a7ac12f596ae065d3d1c7f68f2314764dbc1cf.zip
apt-panopticon-65a7ac12f596ae065d3d1c7f68f2314764dbc1cf.tar.gz
apt-panopticon-65a7ac12f596ae065d3d1c7f68f2314764dbc1cf.tar.bz2
apt-panopticon-65a7ac12f596ae065d3d1c7f68f2314764dbc1cf.tar.xz
Oops, missed a line in the --roundRobin commit.
Diffstat (limited to '')
-rwxr-xr-xmirror-checker.lua2
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;