From 544f35c900324165cd82c1a2337660de2f5cb870 Mon Sep 17 00:00:00 2001 From: Dave Page Date: Fri, 9 Dec 2011 18:42:37 +0530 Subject: [PATCH] Add some missing updates that had been made in the live version of automirror, but not committed. --- automirror.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/automirror.php b/automirror.php index cba85ae..9257c8a 100644 --- a/automirror.php +++ b/automirror.php @@ -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 -- 2.39.5