diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 16:39:16 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-22 16:39:16 +0000 |
commit | 0ff9e0d042aead4110957f4e152886f576e8ddb9 (patch) | |
tree | 526a9dc63b3a6af0e228883dee22294ddd01f3c5 /main/acl.c | |
parent | 861856ff284efce33b3695c18dc4f647c16d64f2 (diff) |
Fix a 100% CPU consumption problem when setting console=yes in asterisk.conf.
The handling of -c and console=yes should be the same, but they were not.
When you specify -c, it sets both a flag for console module and for asterisk
not to fork() off into the background. The handling of console=yes only set
console mode, so you would end up with a background process() trying to run
the Asterisk console and freaking out since it didn't have anything to read
input from.
Thanks to beagles for reporting and helping debug the problem!
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@288339 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/acl.c')
0 files changed, 0 insertions, 0 deletions