Add some missing updates that had been made in the live version of
authorDave Page <dpage@pgadmin.org>
Fri, 9 Dec 2011 13:12:37 +0000 (18:42 +0530)
committerDave Page <dpage@pgadmin.org>
Fri, 9 Dec 2011 13:12:37 +0000 (18:42 +0530)
automirror, but not committed.

automirror.php

index cba85ae1ab1aec356eb60f088e2e33842d71d18e..9257c8a7bfff233485cdc268c502576194294749 100644 (file)
@@ -208,6 +208,7 @@ function finalize($log, $db) {
                        // Find content length
                        if (!preg_match('@Content-Length: ([0-9]+)@', $buf, $parts)) {
                                $this->_log->Log($this->_ip . ' did not return a valid Content-Length');
+                               $this->_log->Log($this->_ip . ' fullbuffer:"' . $buf . '"');
                                return FALSE;
                        }
 
@@ -337,7 +338,7 @@ function finalize($log, $db) {
                        $nameservers = $this->_db->Query("SELECT host FROM nameservers", TRUE);
                        $contents = '
 $TTL 15M
-@      IN SOA ns.hub.org. root.hub.org. (
+@      IN SOA ns1.postgresql.org. webmaster.postgresql.org. (
                ' . $serial . ' ; serial
                15M ; refresh
                5M ; retry