do not kill off child processes during HUP. let them finish.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 15 Oct 2010 06:15:44 +0000 (02:15 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 15 Oct 2010 06:15:44 +0000 (02:15 -0400)
Changelog
Crypt/Monkeysphere/MSVA.pm

index 8410b890c3542ae1fdb03842046f0a6fc2c8aa6f..3f1c85d16d00f8e7d475190b236fcae3fd87f4cd 100644 (file)
--- a/Changelog
+++ b/Changelog
@@ -2,6 +2,8 @@ msva-perl (0.6~pre) unstable; urgency=low
 
   * add new element to JSON syntax allowing request to override
     keyserver_policy (closes MS #2542)
+  * do not kill off child handling processes on HUP -- let them finish
+    their queries.
 
  -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>  Thu, 14 Oct 2010 16:30:54 -0400
 
index 94a5c769eecd3d346960cf7ea60051c11ef562ac..2a66347f08d97a438703cb709e574002b755b013 100755 (executable)
     my $self = shift;
     my $server = shift;
 
+    $server->{server}->{leave_children_open_on_hup} = 1;
+
     my $socketcount = @{ $server->{server}->{sock} };
     if ( $socketcount != 1 ) {
       msvalog('error', "%d sockets open; should have been 1.\n", $socketcount);