r11650 - in /branches/upstream/libfcgi-procmanager-perl/current: ChangeLog MANIFEST META.yml ProcManager.pm README

gregoa-guest at users.alioth.debian.org gregoa-guest at users.alioth.debian.org
Tue Dec 25 23:52:27 UTC 2007


Author: gregoa-guest
Date: Tue Dec 25 23:52:27 2007
New Revision: 11650

URL: http://svn.debian.org/wsvn/?sc=1&rev=11650
Log:
[svn-upgrade] Integrating new upstream version, libfcgi-procmanager-perl (0.18)

Added:
    branches/upstream/libfcgi-procmanager-perl/current/META.yml
Modified:
    branches/upstream/libfcgi-procmanager-perl/current/ChangeLog
    branches/upstream/libfcgi-procmanager-perl/current/MANIFEST
    branches/upstream/libfcgi-procmanager-perl/current/ProcManager.pm
    branches/upstream/libfcgi-procmanager-perl/current/README

Modified: branches/upstream/libfcgi-procmanager-perl/current/ChangeLog
URL: http://svn.debian.org/wsvn/branches/upstream/libfcgi-procmanager-perl/current/ChangeLog?rev=11650&op=diff
==============================================================================
--- branches/upstream/libfcgi-procmanager-perl/current/ChangeLog (original)
+++ branches/upstream/libfcgi-procmanager-perl/current/ChangeLog Tue Dec 25 23:52:27 2007
@@ -1,3 +1,14 @@
+0.17
+
+	* ProcManager.pm: Remove constraint that process can't change pid.
+	  This resolves the daemon exiting after first child dies
+	  if the process id of the daemon has changed since starting.
+	  This commonly happens when a script waits to check for the
+	  socket being available and working before forking and exitting.
+	  It can also happen in a race condition of fork && exit when
+	  the exit is delayed until after the forked child has already
+	  spawned the fastcgi handlers.
+
 2001-04-23 18:12  James Jurach  <muaddib at erf.net>
 
 	* ProcManager.pm: SIGHUP handler now issues SIGTERM to children but

Modified: branches/upstream/libfcgi-procmanager-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/branches/upstream/libfcgi-procmanager-perl/current/MANIFEST?rev=11650&op=diff
==============================================================================
--- branches/upstream/libfcgi-procmanager-perl/current/MANIFEST (original)
+++ branches/upstream/libfcgi-procmanager-perl/current/MANIFEST Tue Dec 25 23:52:27 2007
@@ -8,3 +8,4 @@
 TODO
 t/procmanager.t
 t/exporter.t
+META.yml                                 Module meta-data (added by MakeMaker)

Added: branches/upstream/libfcgi-procmanager-perl/current/META.yml
URL: http://svn.debian.org/wsvn/branches/upstream/libfcgi-procmanager-perl/current/META.yml?rev=11650&op=file
==============================================================================
--- branches/upstream/libfcgi-procmanager-perl/current/META.yml (added)
+++ branches/upstream/libfcgi-procmanager-perl/current/META.yml Tue Dec 25 23:52:27 2007
@@ -1,0 +1,10 @@
+# http://module-build.sourceforge.net/META-spec.html
+#XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
+name:         FCGI-ProcManager
+version:      0.18
+version_from: ProcManager.pm
+installdirs:  site
+requires:
+
+distribution_type: module
+generated_by: ExtUtils::MakeMaker version 6.30

Modified: branches/upstream/libfcgi-procmanager-perl/current/ProcManager.pm
URL: http://svn.debian.org/wsvn/branches/upstream/libfcgi-procmanager-perl/current/ProcManager.pm?rev=11650&op=diff
==============================================================================
--- branches/upstream/libfcgi-procmanager-perl/current/ProcManager.pm (original)
+++ branches/upstream/libfcgi-procmanager-perl/current/ProcManager.pm Tue Dec 25 23:52:27 2007
@@ -13,7 +13,7 @@
 
 use vars qw($VERSION @ISA @EXPORT_OK %EXPORT_TAGS $Q $SIG_CODEREF);
 BEGIN {
-  $VERSION = '0.17'; 
+  $VERSION = '0.18'; 
   @ISA = qw(Exporter);
   @EXPORT_OK = qw(pm_manage pm_die pm_wait
 		  pm_write_pid_file pm_remove_pid_file
@@ -206,10 +206,6 @@
 
  MANAGING_LOOP: while (1) {
 
-    # if the calling process goes away, perform cleanup.
-    getppid() == 1 and
-      return $this->pm_die("calling process has died");
-
     $this->n_processes() > 0 or
       return $this->pm_die();
 
@@ -704,6 +700,14 @@
 
 L<FCGI>.
 
+=head1 MAINTAINER
+
+Gareth Kirwan <gbjk at thermeon.com>
+
+=head1 AUTHOR
+
+James E Jurach Jr.
+
 =head1 COPYRIGHT
 
  FCGI-ProcManager - A Perl FCGI Process Manager

Modified: branches/upstream/libfcgi-procmanager-perl/current/README
URL: http://svn.debian.org/wsvn/branches/upstream/libfcgi-procmanager-perl/current/README?rev=11650&op=diff
==============================================================================
--- branches/upstream/libfcgi-procmanager-perl/current/README (original)
+++ branches/upstream/libfcgi-procmanager-perl/current/README Tue Dec 25 23:52:27 2007
@@ -50,5 +50,10 @@
 General Public License, Version 2.1, a copy of which can be
 found in the "COPYING" file of this distribution.
 
+Maintainer
+------
+Gareth Kirwan <gbjk at thermeon.com>
 
+Author
+------
 James Jurach <muaddib at erf.net>




More information about the Pkg-perl-cvs-commits mailing list