]> Git [git.vados.ru] :: Repos - Mikrotiks/ros.vados.ru.git/commitdiff
Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:45:03 04.05.2026.
authorvados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 07:45:03 +0000 (10:45 +0300)
committervados-dev <192440777+vados-dev@users.noreply.github.com>
Mon, 4 May 2026 07:45:03 +0000 (10:45 +0300)
html/AM-FwAddrLists.rsc
html/AM-GlobalFunc.rsc

index 633c96645762ab69d43d93340dcdc67be5452278..c826a769a6bb6afca81b92e85d514bf509cba03b 100644 (file)
@@ -17,6 +17,7 @@
   :local FwAddrListsUrl ($GlobalScriptsUrl . "fw-addr-lists.d/");
   :local FwAddrListsIndexUrl ($FwAddrListsUrl . "index");
   :local FwAddrListTimeOut 1d;
+  :local FetchMode "https-only";
 
   :global CertificateAvailable;
   :global EitherOr;
@@ -59,7 +60,7 @@
 
   :for I from=1 to=5 do={
     :if ($FwAddrListsIndex = false) do={
-      :set FwAddrListsIndex [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsIndexUrl true ] ];
+      :set FwAddrListsIndex [ :tolf [ $FetchLargeFiles $ScriptName $FwAddrListsIndexUrl true $FetchMode ] ];
       :if ($FwAddrListsIndex = false && $I < 5) do={
         :log warning ($ScriptName . " Failed downloading address-list index, " . $I . ". try from: " . $FwAddrListsIndexUrl);
         :delay (($I * $I) . "s");
@@ -90,7 +91,7 @@
 
     :for I from=1 to=5 do={
       :if ($Data = false) do={
-        :set Data [ :tolf [ $FetchHuge $ScriptName $FwListUrl false ] ];
+        :set Data [ :tolf [ $FetchLargeFiles $ScriptName $FwListUrl true $FetchMode ] ];
         :if ($Data = false && $I < 5) do={
           :log warning ($ScriptName . " Failed downloading for list '" . $FwListName . "', " . $I . ". try from: " . $FwListUrl);
           :delay (($I * $I) . "s");
index c837865e8f231bdf77b0980f1e2d3289cc010b10..d136fc63706ee48460de935b926c3db7a7b0aa3a 100644 (file)
@@ -17,9 +17,9 @@
 :global GlobalFuncReady false;
 
 # Git commit id & info, expected configuration version
-:global CommitId "main/542/3f4c8852";
+:global CommitId "main/543/2586b4eb";
 :global CommitTAG "unknown";
-:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:40:03 04.05.2026.";
+:global CommitInfo "Autocommit in repo: ros.vados.ru, generated by owner: root, in 10:45:03 04.05.2026.";
 
 # The variables are received right here.
 :global GlobalConfVersion 140;