Track pending MUX logins via memcache
authorBill Erickson <berick@esilibrary.com>
Tue, 5 Aug 2014 13:59:30 +0000 (09:59 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 8 Aug 2014 14:08:37 +0000 (10:08 -0400)
commit1ff0ef74bbdfe2c7be58e00ca89e3c163fda8475
treec7e5c96e61111bb53760b276f7af0e53ce87e627
parent9aa839b464741c24eadc93a3746838de25329bfb
Track pending MUX logins via memcache

When a SIP child process is spawned to handle a new connection login,
the pending login is tracked in the parent process (by PID) and the
child indicates to the parent that the login has succeeded by storing
login success/failure plus some state information in memcache.  Any time
the parent wakes up to process a message, it checks for completed logins
so they can be resolved as OK in the parent and the state information
is extracted and stored for future conversation with the resolved client.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
SIPServer.pm
Sip/Configuration.pm