Unable to retrieve global allow list - Download timeout afte
Posted: 16 Oct 2011, 23:37
If an "allow" file is empty, but retrievable, lfd will report errors anyways, because of this piece of code (line 7079):
Since file is empty, the $text is also blank. Perhaps it'd be better to check $status for correct http status (e.g. 200).
Code: Select all
if ($text) {
return ($status,$text);
} else {
return (1, "Download timeout after $timeout seconds");
}