Bug 9531: Make SIP2 message terminator configurable via SIPconfig.xml
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 1 Feb 2013 15:40:50 +0000 (10:40 -0500)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Dec 2013 13:49:03 +0000 (08:49 -0500)
commitec0e086fde1895990750f8a1f9657996567e3fee
tree0efc7968edc58d0a27ddf5b1476fa683cdc17247
parentaf1b555438f29c301e09cf0776da1811ec0ba394
Bug 9531: Make SIP2 message terminator configurable via SIPconfig.xml

Add a terminator option to SIPConfig.xml, choices for 'terminator' are
'CR' or 'CRLF'.  The default continues to be 'CRLF' if 'terminator' is
undefined.

Test Plan:
1) Apply patch
2) Start SIP server
3) Run C4/SIP/t/04patron_status.t
4) Stop SIP server
5) Add terminator="CR" for account login 'term1'
6) Run 04patron_status.t again, you should see no change

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Adrien Saurat <adrien.saurat@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 90e2aafeb538f2d5e52fd1d32fce528f72076df8)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit b0474ebcf0a83cbbe8484b95986b350162959188)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
(cherry picked from commit b0474ebcf0a83cbbe8484b95986b350162959188)
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 20e11030e5060bc7eab1734b45e3bd5e4ca0f5e9)
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm
etc/SIPconfig.xml