:global CertificateAvailable;
:global EitherOr;
- :global FetchLargeFiles;
+ :global FetchHugeFiles;
:global HumanReadableNum;
:global IfThenElse;
:global LogPrint;
:for I from=1 to=5 do={
:if ($tmpIndex = false) do={
- :set tmpIndex [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsUrl $Index $CheckCerts ] ];
+ :set tmpIndex [ :tolf [ $FetchHugeFiles $ScriptName $FwAddrListsUrl $Index $CheckCerts ] ];
:if ($tmpIndex = false && $I < 5) do={
:log warning ($ScriptName . " Failed downloading address-list index, " . $I . ". try from: " . $FwAddrListsUrl . $Index);
:delay (($I * $I) . "s");
:for I from=1 to=5 do={
:if ($Data = false) do={
- :set Data [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsUrl $FwListName $CheckCerts ] ];
+ :set Data [ :tolf [ $FetchHugeFiles $ScriptName $FwAddrListsUrl $FwListName $CheckCerts ] ];
:if ($Data = false && $I < 5) do={
:log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "', " . $I . ". try from: " . $FwAddrListsUrl . $FwListName);
:delay (($I * $I) . "s");
:global GlobalFuncReady false;
# Git commit id & info, expected configuration version
-:global CommitId "main/579/0878acaa";
+:global CommitId "main/580/082ed3d4";
:global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 18:00:03 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 18:05:03 04.05.2026.";
# The variables are received right here.
:global GlobalConfVersion 140;
:global ExitError;
:global ExitOnError;
:global FetchLargeFiles;
-:global FetchHuge;
+:global FetchHugeFiles;
:global FetchUserAgentStr;
:global CertificateAvailable;
:global CertificateDownload;
:return $Return;
}
-# fetch huge data to file, read in chunks
-:set FetchHuge do={
+:set FetchHugeFiles do={
:local ScriptName [ :tostr $1 ];
:local Url [ :tostr $2 ];
:local CheckCert [ :tostr $3 ];
:return $Return;
}
-
:set FetchUserAgentStr do={
:local Caller [ :tostr $1 ];
-
:global GlobalScriptsUrl;
:global CommitBrief;
:global IfThenElse;