[Koha-bugs] [Bug 7787] SIP server closes the TCP connection when it receives an invalid message
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 22 11:16:16 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7787
--- Comment #3 from Marc Balmer <marc at msys.ch> ---
To test this patch, you need to first start the SIP server, use the following
command:
# perl -IC4/SIP/ -MILS C4/SIP/SIPServer.pm C4/SIP/SIPconfig.xml
In SIPconfig, you need to add a login and institution to be able to login:
<accounts>
<login id="arcapos" password="arcapos" delimiter="|"
error-detect="enabled"
institution="kohadev" />
</account>
<institutions>
<institution id="kohadev" implementation="ILS" parms="">
<policy checkin="true" renewal="true" checkout="true"
status_update="false" offline="false"
timeout="100" retries="5" />
</institution>
</institutions>
Then you need to create a patron with the same name (arcapos in the example
above) and give that patron circulation rights. Now you can use telnet to
login to the SIP server:
# telnet localhost 8023
It will prompt for username/password.
Note how the server closes the connection when you just hit enter 3 time or
send any garbage. With the patch applied, the server will not close the
connection.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list