aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xmirror-checker.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/mirror-checker.lua b/mirror-checker.lua
index acd06f4..069a038 100755
--- a/mirror-checker.lua
+++ b/mirror-checker.lua
@@ -198,6 +198,7 @@ checkURL = function (host, URL, r, retry)
198 198
199 end 199 end
200 if 0 < retry then 200 if 0 < retry then
201-- TODO - should have a random sleep here before retrying.
201 check = "Retry " .. retry .. " " .. check 202 check = "Retry " .. retry .. " " .. check
202 end 203 end
203 if 10 < r then 204 if 10 < r then
@@ -289,6 +290,7 @@ checkRedirects = function (orig, host, path, ip, file)
289 end 290 end
290 else 291 else
291 if orig == host then D("checkRedirects " .. orig .. "" .. file) else D("checkRedirects " .. orig .. " -> " .. host) end 292 if orig == host then D("checkRedirects " .. orig .. "" .. file) else D("checkRedirects " .. orig .. " -> " .. host) end
293-- TODO - use checkPaths() here ^^^ on the original domain name, coz that's not getting caught yet. I think.
292 gatherIPs(ph.host) 294 gatherIPs(ph.host)
293 for k, v in pairs(IP[ph.host]) do 295 for k, v in pairs(IP[ph.host]) do
294 D(" DNS record " .. v .. " " .. ph.host .. " -> " .. k) 296 D(" DNS record " .. v .. " " .. ph.host .. " -> " .. k)