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
This commit is contained in:
jbjohnso 2012-02-19 03:16:51 +00:00
parent 63014585a9
commit ec0d7025aa

View File

@ -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>;
}