LP1901930 Respond to end-session message part 2
authorBill Erickson <berickxx@gmail.com>
Mon, 14 Jun 2021 14:31:06 +0000 (10:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 24 Oct 2022 17:21:58 +0000 (13:21 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/SIP2.pm

index e203f06..4a7f51d 100644 (file)
@@ -63,7 +63,7 @@ sub dispatch_sip2_request {
     my $session = OpenILS::Application::SIPSession->find($seskey);
 
     if (!$session) {
-        return undef if $msg_code eq 'XS'; # end session signal
+        return {code => 'XT'} if $msg_code eq 'XS'; # end session signal
         return OpenILS::Event->new('SIP2_SESSION_REQUIRED');
     }