[Resmon-devel] [resmon commit] r191 - trunk/lib/Resmon

svn-commit at lists.omniti.com svn-commit at lists.omniti.com
Mon May 4 11:44:36 EDT 2009


Author: mark
Date: 2009-05-04 11:44:36 -0400 (Mon, 04 May 2009)
New Revision: 191

Modified:
   trunk/lib/Resmon/Status.pm
Log:
Don't crash when the client closes the connection unexpectedly (nessus fix)

Modified: trunk/lib/Resmon/Status.pm
===================================================================
--- trunk/lib/Resmon/Status.pm	2009-04-15 20:11:12 UTC (rev 190)
+++ trunk/lib/Resmon/Status.pm	2009-05-04 15:44:36 UTC (rev 191)
@@ -425,6 +425,7 @@
   if($self->{child} == 0) {
     eval {
       $SIG{'HUP'} = 'IGNORE';
+      $SIG{'PIPE'} = 'IGNORE';
       while(my $client = $handle->accept) {
         my $req;
         my $proto;



More information about the Resmon-devel mailing list