-Move CHILD handler assignment into loop to guard against loop somehow corrupting it before the sleeping loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1479 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
012d3cedc8
commit
46134f0a75
@ -472,8 +472,8 @@ xCAT_monitoring::monitorctrl::start($$);
|
||||
|
||||
my $peername;
|
||||
my $ssltimeout;
|
||||
$SIG{CHLD} = \&ssl_reaper; #THROTTLE
|
||||
until ($quit) {
|
||||
$SIG{CHLD} = \&ssl_reaper; #set here to ensure that signal handler is not corrupted during loop
|
||||
next unless my $cnnection=$listener->accept;
|
||||
my $connection;
|
||||
while ($sslclients > $maxsslclients) { #THROTTLE
|
||||
|
Loading…
Reference in New Issue
Block a user