Fix TLS port binding behavior as well as reload behavior:
authorMark Michelson <mmichelson@digium.com>
Thu, 2 Feb 2012 18:55:05 +0000 (18:55 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 2 Feb 2012 18:55:05 +0000 (18:55 +0000)
commit0f4489dc0f76b92d95592cc0b726cb98f781881e
tree34f5a4cb79b7376abc97765dc09f019d2175031d
parent516419697278a9d029825b17f55a25302bf3fc0d
Fix TLS port binding behavior as well as reload behavior:

* Removes references to tlsbindport from http.conf.sample and manager.conf.sample
* Properly bind to port specified in tlsbindaddr, using the default port if specified.
* On a reload, properly close socket if the service has been disabled.

A note has been added to UPGRADE.txt to indicate how ports must be set for TLS.

(closes issue ASTERISK-16959)
reported by Olaf Holthausen

(closes issue ASTERISK-19201)
reported by Chris Mylonas

(closes issue ASTERISK-19204)
reported by Chris Mylonas

Review: https://reviewboard.asterisk.org/r/1709
........

Merged revisions 353770 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 353820 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configs/http.conf.sample
configs/manager.conf.sample
include/asterisk/manager.h
main/http.c
main/manager.c