[Koha-bugs] [Bug 15006] Need to distinguish client timeout from login timeout

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 17:04:30 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15006

--- Comment #62 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 53310
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53310&action=edit
Bug 15006: Centralize timeout logic and allow zero client timeout

Moving timeout logic to one routine in Sip.pm (with unit test).

This further implements two suggestions from Kyle and Larry:

[1] You could use a client_timeout of 0 to specify no timeout at all.
[2] Have the client_timeout default to the timeout if not defined.

Test plan:
[1] Run t/SIP_Sip.t
[2] Test login timeout for raw and telnet.
[3] Check ACS status message for timeout value. Should match policy
    timeout from institution.
[4] Test client timeout (zero and non-zero).
[5] Remove client timeout. Test fallback to service.
[6] Remove service timeout too. Test fallback to 30 at login.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list