diff options
author | Richard Mudgett <rmudgett@digium.com> | 2014-11-21 19:09:13 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2014-11-21 19:09:13 +0000 |
commit | 7f4b222e07fcd56378539154f6a3de45805ac711 (patch) | |
tree | fae269ffb71f9d50af56541a5ff5c670ae2ea1ce /tests | |
parent | 2846d2368804d9cb593d835847735623b32658dd (diff) |
manager: Fix could not extend string messages.
When shutting down Asterisk that has an active AMI connection, you get
several "failed to extend from %d to %d" messages because use of the
EVENT_FLAG_SHUTDOWN attempts to add all AMI permission strings to the
event.
* Created MAX_AUTH_PERM_STRING to use when creating stack based struct
ast_str variables used with the authority_to_str() and
user_authority_to_str() functions instead of a variety of magic numbers
that could be too small.
* Added a special check for EVENT_FLAG_SHUTDOWN to authority_to_str() so
it will not attempt to add all permission level strings.
Review: https://reviewboard.asterisk.org/r/4200/
........
Merged revisions 428570 from http://svn.asterisk.org/svn/asterisk/branches/11
........
Merged revisions 428571 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@428572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions