OpenRA/OpenRAWeb — pull request #81 by xaionaro (2013-12-16 16:23:47+00:00)
Title: Added rough mirror checking into get-dependency.php

Added rough mirror checking into get-dependency.php with using of

$success = @file_get_contents($mirror, false, $ctx_goodhttp, -1, 1) !== FALSE;

If we can successfully read one byte of the desired file, mirror is considered to be "good".