]> 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:58:12 +0000 (09:58 -0600)
commit05afa061f5a91ae55e47992af5db97087864d041
tree52a2789035b1e3adc23bd6a30181f24689fce8ab
parent030f7d41315560c304798d8edc40eea55e4c2a09
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