[asterisk-dev] [Code Review] 2611: Refactor skinny sessions
svnbot
reviewboard at asterisk.org
Thu Jul 11 15:17:56 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2611/
-----------------------------------------------------------
(Updated July 11, 2013, 3:17 p.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 394147
Repository: Asterisk
Description
-------
Refactor and cleanup of skinny session handling. Major changes are to pull all packet reading functions into skinny_session and move timeout handling to scheduling arrangements. Thread cancelling is now undertaken directly rather than waiting for the read to timeout (cleanup is popped on thread cancel). Also added some keepalive timings in debugging messages.
Also, keepalive timeout has been increased from 1.1 by keepalive to 3 times keepalive. This seems to align (after keepalives stabilise) with when devices reset after not receiving keepalives. Probably needs more work, especially around the first and/or second keepalives that vary significantly by device and firmware version.
Diffs
-----
/trunk/channels/chan_skinny.c 393775
Diff: https://reviewboard.asterisk.org/r/2611/diff/
Testing
-------
Ongoing. Generally seems better and less issues with a graceful shutdown.
Thanks,
wedhorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130711/bdea27c3/attachment-0001.htm>
More information about the asterisk-dev
mailing list