]> git.ipfire.org Git - thirdparty/asterisk.git/commit
http.c: Add ability to create multiple HTTP servers
authorKevin Harwell <kharwell@sangoma.com>
Mon, 15 Nov 2021 21:35:05 +0000 (15:35 -0600)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 15 Dec 2021 15:59:03 +0000 (09:59 -0600)
commitb37fd0220156f0285c1c7dda6d818cd74c65bd36
tree6ef6b346af1162d512323da1c9a1ed7bbea797fd
parent1e7bcc27df924df1e5517de02baa383e00687702
http.c: Add ability to create multiple HTTP servers

Previously, it was only possible to have one HTTP server in Asterisk.
With this patch it is now possible to have multiple HTTP servers
listening on different addresses.

Note, this behavior has only been made available through an API call
from within the TEST_FRAMEWORK. Specifically, this feature has been
added in order to allow unit test to create/start and stop servers,
if one has not been enabled through configuration.

Change-Id: Ic5fb5f11e62c019a1c51310f4667b32a4dae52f5
include/asterisk/http.h
main/http.c