mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	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:
		| @@ -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>; | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user