aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-11 02:56:51 +1000
committeronefang2019-12-11 02:56:51 +1000
commit9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4 (patch)
tree3120c24f5662ce64feb26d6ad090855b05f93a38
parentMore info for package size mismatches. (diff)
downloadapt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.zip
apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.gz
apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.bz2
apt-panopticon-9c5ff7cdd38e1b7218421f9a6e1ecea810edcfd4.tar.xz
Detect timeouts for actually downloaded files as well.
-rwxr-xr-xapt-panopticon.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-panopticon.lua b/apt-panopticon.lua
index dd0ad58..2c0b86e 100755
--- a/apt-panopticon.lua
+++ b/apt-panopticon.lua
@@ -805,6 +805,10 @@ if 0 < #arg then
805 if crrnt < min and crrnt ~= 0 then min = crrnt end 805 if crrnt < min and crrnt ~= 0 then min = crrnt end
806 if crrnt > max then max = crrnt end 806 if crrnt > max then max = crrnt end
807 end 807 end
808 if l:find('timed out') ~= nil then
809 E(" TIMEOUT " .. timeouts + 1 .. ', details in curl-' .. mt .. '-' .. pu.host .. '.log', 'http', '', pu.host)
810 timeouts = timeouts + 1
811 end
808 end 812 end
809 end 813 end
810 end 814 end