From ec0d7025aa577940e4be6eb9752f540a49fd74ca Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 19 Feb 2012 03:16:51 +0000 Subject: [PATCH] Add the ability for site to tune the number of allowed SSL clients if needed. also fix warning on new init strategy while I'm at it git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 510686c37..6543c6b00 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -148,6 +148,8 @@ unless ($tmp) { } $port = $tmp->{value}; $sport = $tmp->{value}+1; +($tmp) = $sitetab->getAttribs({'key'=>'xcatmaxconnections'},'value'); +if ($tmp and $tmp->{value}) { $maxsslclients = $tmp->{value}; } my $plugins_dir=$::XCATROOT.'/lib/perl/xCAT_plugin'; @@ -621,7 +623,7 @@ if (socketpair($readpipe, $writepipe,AF_UNIX,SOCK_STREAM,PF_UNSPEC)) { if (defined $pid_init) { if ($pid_init) { #parent, just sit and wait.. close($writepipe); - my $serialized_handlers; + my $serialized_handlers=""; while ($serialized_handlers !~ /xCATINITDoneWithHandlersNow/) { $serialized_handlers.=<$readpipe>; }