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)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 14:11:06 +0000 (14:11 +0000)
commite465d1aa4b16d7392950b2b682f99eb0c58c1ffd
tree6207bc7112d09a565e65d95fa0adfcbb4c477c15
parent64fe6e350074db48cf337dcf1794b40a58d7e606
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>
C4/SIP/SIPServer.pm