defect 4116: fix the issue that send_response subroutine doesnot exist in xcatd 2.8.4 but was used.
This commit is contained in:
parent
94b107f138
commit
cb0f268589
@ -1998,7 +1998,7 @@ sub service_connection {
|
||||
$resp={error=>["Authentication failure"],errorcode=>[1]};
|
||||
}
|
||||
$resp->{serverdone}=[ undef ] ;
|
||||
send_response($resp,$sock);
|
||||
print $sock XMLout($resp,RootName => 'xcatresponse',NoAttr=>1);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -2009,7 +2009,7 @@ sub service_connection {
|
||||
unless (defined $peername) {
|
||||
my $resp={error=>["Authentication failure"],errorcode=>[1]};
|
||||
$resp->{serverdone}=[ undef ] ;
|
||||
send_response($resp,$sock);
|
||||
print $sock XMLout($resp,RootName => 'xcatresponse',NoAttr=>1);
|
||||
return;
|
||||
}
|
||||
delete($req->{tokenid});
|
||||
|
Loading…
Reference in New Issue
Block a user