[Pkg-privacy-commits] [msva-perl] 169/356: do not kill off child processes during HUP. let them finish.

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:41:52 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository msva-perl.

commit 9e468d4478f140ac45cc455604b1478ca77058d0
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Fri Oct 15 02:15:44 2010 -0400

    do not kill off child processes during HUP.  let them finish.
---
 Changelog                  | 2 ++
 Crypt/Monkeysphere/MSVA.pm | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/Changelog b/Changelog
index 8410b89..3f1c85d 100644
--- 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 at fifthhorseman.net>  Thu, 14 Oct 2010 16:30:54 -0400
 
diff --git a/Crypt/Monkeysphere/MSVA.pm b/Crypt/Monkeysphere/MSVA.pm
index 94a5c76..2a66347 100755
--- a/Crypt/Monkeysphere/MSVA.pm
+++ b/Crypt/Monkeysphere/MSVA.pm
@@ -655,6 +655,8 @@
     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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git



More information about the Pkg-privacy-commits mailing list