Unable to retrieve global allow list - Download timeout afte

This forum is only for reproducible bugs with csf and lfd (i.e. not iptables problems, lack of understanding how to use a feature, etc). Posts must be accompanied with full technical details of the problem and how it can be recreated. Any posts not adhering to this, or not considered bugs, will be moved to the General Discussion (csf) forum.
Post Reply
moltar
Junior Member
Posts: 3
Joined: 10 May 2011, 12:34

Unable to retrieve global allow list - Download timeout afte

Post by moltar »

If an "allow" file is empty, but retrievable, lfd will report errors anyways, because of this piece of code (line 7079):

Code: Select all

	if ($text) {
		return ($status,$text);
	} else {
		return (1, "Download timeout after $timeout seconds");
	}
Since file is empty, the $text is also blank. Perhaps it'd be better to check $status for correct http status (e.g. 200).
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Unable to retrieve global allow list - Download timeout

Post by ForumAdmin »

Thank you for reporting the issue. We will resolve the issue in the next release.
Post Reply