remove duplicated code to start the server threads, use
authorLuigi Rizzo <rizzo@icir.org>
Wed, 6 Dec 2006 20:46:01 +0000 (20:46 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 6 Dec 2006 20:46:01 +0000 (20:46 +0000)
commit605b9a914e39b95cf36af09cb812a1f0f31521f3
tree71684e7342a3135822acaa5bfa6484368b032b5e
parentce6804c8775488cecb3e9012de516a6c16258a95
remove duplicated code to start the server threads, use
the infrastructure exposed in http.c earlier today.

As a bonus, now we can restart the session on a different
port just reloading the module.

On passing, fix a bug in the handling of 'enabled' in the configuration
file - previously, a missing "enabled=" line in manager.conf meant
"whatever the state was before" instead of a specific value.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/manager.c