Show
Ignore:
Timestamp:
07/23/07 17:08:53 (7 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1185210533 +0000
git-parent:

[a7d2d7beb82bb785cdd2982a653f279494d3530a]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1185210533 +0000
Message:

If for some reason the client just disconnects and the read fails (or we die from our eval) we must reset the alarm or it will kill us off. closes #1

git-svn-id: https://labs.omniti.com/resmon/trunk@44 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Status.pm

    r1c2d107 r8657b1c  
    232232            } 
    233233          } 
     234          alarm(0); 
    234235        }; 
     236        alarm(0) if($@); 
    235237        $client->close(); 
    236238      }