]> 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 16:02:29 +0000 (10:02 -0600)
commitdf355eeb877909805340821a7d83b54e19073a0c
treed0b184b683d1d91ba68bba0d6612ccbdbea60b59
parentee163da56d2c2f2ccc2c092b76bbf90d27625208
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