Revert "Fix problem where unauthorized users could indefinitely hold an xcatd slot open so long as they stayed connected"
This reverts commit 293f2194c6fe119e71e3c053c3894748a44f9e7e. Doing it a better way git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6df0c51504
commit
75d37c0a6f
@ -1688,10 +1688,9 @@ sub service_connection {
|
||||
my $request;
|
||||
my $req=undef;
|
||||
alarm(15);
|
||||
my $line;
|
||||
while (alarm (15) and $line = <$sock>) {
|
||||
while (<$sock>) {
|
||||
alarm(0);
|
||||
$request .= $line;
|
||||
$request .= $_;
|
||||
#$req = eval { XMLin($request, ForceArray => [ 'attribute' , 'attributepair' ]) };
|
||||
if (m/<\/xcatrequest>/) {
|
||||
$req = eval { XMLin($request, SuppressEmpty=>undef,ForceArray=>1) };
|
||||
|
Loading…
Reference in New Issue
Block a user