stanley-king 3 年之前
父節點
當前提交
32ca68b7f1
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      helper/refill/util.php

+ 2 - 1
helper/refill/util.php

@@ -520,7 +520,8 @@ class util
             static $errors = [CURLE_GOT_NOTHING,CURLE_RECV_ERROR];
             return in_array($code,$errors);
         } elseif($type == "HTTP") {
-            return true;
+            static $excludes = [404];
+            return !in_array($code,$excludes);
         } else {
             return false;
         }