]> git.evergreen-ils.org Git - working/SIPServer.git/commit
LP#1927542: fix incorrect ACS Status response in Multiplex mode user/gmcharlt/lp1927542_fix_acs_status_in_multiplex
authorGalen Charlton <gmc@equinoxOLI.org>
Thu, 6 May 2021 20:00:33 +0000 (16:00 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Thu, 6 May 2021 20:03:59 +0000 (16:03 -0400)
commitb35882c9c8fec960c6fea5cdd7cb6885ef3bdbef
tree305ae4eee7a5d1dcf43e4b30f5798474b2211cec
parent9b2690bb3ef1290b7048ebbdcd0e5e41478936e3
LP#1927542: fix incorrect ACS Status response in Multiplex mode

This patch fixes an issue where the serialization and deserialization
of the SIP server object when handling a pending ILS login connection
can cause the ACS Status message handler to not have access to the
institution configuration settings for the timeout and retry policy,
causing it to return 000 for both values. This can lead to some
SIP2 clients believing that the ACS is either offline or impossibly
fast.

To test
-------
[1] Set up SIPServer to use the Multiplex personality.
[2] With an appropriate ILS connect set up, send the following
    messages

9900402.00 => response should show default timeout of 600 and
              retry limit of 003
9300CN_user_|CO_password_|CP_institution_ => should get 941 response
9900402.00 => response shows a timeout of 000 and retry limit
              of 000

[3] Apply the patch and repeat step 2. This time, both message
    98 responses should show a timeout of 600 and retry limit of
    003.

Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
SIPServer.pm