]> git.koha-community.org Git - koha.git/commit
Bug 15006: [QA Follow-up] Only handle login requests in raw_transport
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 13 Jul 2016 09:59:28 +0000 (11:59 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 17 Aug 2016 10:03:43 +0000 (12:03 +0200)
commit85caad0f3803aedd199b2998b0a549c24ad0e2c4
tree860dee729a9272fd17c48d3a81483c1a85c7d381
parentf891d7b990d704af231467f062de11f7341710c6
Bug 15006: [QA Follow-up] Only handle login requests in raw_transport

Although mainly hypothetical, it would still be possible to get
response from the server for an acs resend request. (This exception
is allowed in MsgType::handle.)
I also noticed that the response may well be a message from an older
session still.
This patch just removes that exception by only passing login requests
to sub handle in the raw_transport loop.

Test plan:
[1] Verify normal login procedure for raw.
[2] Check a few acs resend requests in raw. They should terminate without
    a response.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit e465d1aa4b16d7392950b2b682f99eb0c58c1ffd)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit a0a0e057c0620a49246d0b5c55a6013b1f664780)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/SIP/SIPServer.pm