From 92d9585ea016f4e03bb08b484c4a10498eedc9d2 Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 6 Sep 2019 15:55:59 +1000 Subject: TODO++ --- mirror-checker.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mirror-checker.lua') 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) end if 0 < retry then +-- TODO - should have a random sleep here before retrying. check = "Retry " .. retry .. " " .. check end if 10 < r then @@ -289,6 +290,7 @@ checkRedirects = function (orig, host, path, ip, file) end else if orig == host then D("checkRedirects " .. orig .. "" .. file) else D("checkRedirects " .. orig .. " -> " .. host) end +-- TODO - use checkPaths() here ^^^ on the original domain name, coz that's not getting caught yet. I think. gatherIPs(ph.host) for k, v in pairs(IP[ph.host]) do D(" DNS record " .. v .. " " .. ph.host .. " -> " .. k) -- cgit v1.1