mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-17 03:40:39 +00:00
defect 4116: fix the issue that send_response subroutine doesnot exist in xcatd 2.8.4 but was used.
This commit is contained in:
@ -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});
|
||||
|
Reference in New Issue
Block a user