cvs: php-master-web /scripts mirror-test
| From: | Gabor Hojtsy | Date: | Tue, 29 Jun 2004 07:02:31 +0000 |
| Subject: | cvs: php-master-web /scripts mirror-test | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-25164@lists.php.net to get a copy of this message | ||
goba Tue Jun 29 03:02:31 2004 EDT
Modified files:
/php-master-web/scripts mirror-test
Log:
this does not seem to contain the data I wish, so lets do some more debugging
http://cvs.php.net/diff.php/php-master-web/scripts/mirror-test?r1=1.62&r2=1.63&ty=u
Index: php-master-web/scripts/mirror-test
diff -u php-master-web/scripts/mirror-test:1.62 php-master-web/scripts/mirror-test:1.63
--- php-master-web/scripts/mirror-test:1.62 Sun Jun 27 17:49:04 2004
+++ php-master-web/scripts/mirror-test Tue Jun 29 03:02:30 2004
@@ -47,6 +47,7 @@
$details = explode(" ", $mirrorinfo);
$mirrmon[$details[0]] = array($details[1], $details[3]);
}
+ $doublecheck .= serialize($mirrmon) . "\n\n";
}
else {
$doublecheck = "Double check request failed\n";
@@ -58,9 +59,7 @@
// Diagnostical info
$doublecheck .= $host['hostname'] . ' : ' .
$host['lastupdated'] . "/" .
- $mirrmon[$host['hostname']][0] . " .. " .
- $host['lastchecked'] . "/" .
- $mirrmon[$host['hostname']][1] . "\n";
+ $host['lastchecked'] . " --- " .
serialize($mirrmon[$host['hostname']]) . "\n";
// Open port 80 on the mirror site
$fp = @fsockopen($host['hostname'], 80, $errno, $errstr, 15);