Add more debugging
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Tue, 18 Sep 2018 20:42:19 +0000 (22:42 +0200)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Tue, 18 Sep 2018 20:42:19 +0000 (22:42 +0200)
sks-keyservers.net/status-srv/sks.inc.php

index 8eff39d..17081fb 100755 (executable)
    $this->port = $fp_rb_dec['port'];
    
    $this->statusok = $fp_rb_dec['statusok'];
+
+        if($this->debug)
+                       echo "Server: {$this->hostname} has status: ".($this->statusok ? "OK" : "Not OK")."\n";
+
    if($this->statusok)
    {
      $this->responsetime = $fp_rb_dec['responsetime'];
   {
    $servers = new sks_servercollection;
    
-   $initial_servers = array("keys2.kfwebs.net", "zimmermann.mayfirst.org", "keyserver.ubuntu.com", "sks.undergrid.net", "sks.b4ckbone.de");
+   $initial_servers = array("keys2.kfwebs.net", "zimmermann.mayfirst.org", "keyserver.kim-minh.com", "pgp.circl.lu", "keys.niif.hu", "sks.b4ckbone.de", "keyserver.opensuse.org");
 
         foreach($initial_servers as $s)
    {
       $sadd = new sks_peer($servers, $s);
       $servers->add_server($sadd);
+                       echo "Adding: {$s}\n";
    }
    
    echo "Done adding primaries\n";