hsa: Add multiple listeners support 96/41596/3
authorSteven Luong <[email protected]>
Tue, 24 Sep 2024 23:17:00 +0000 (16:17 -0700)
committerFlorin Coras <[email protected]>
Sat, 28 Sep 2024 01:49:53 +0000 (01:49 +0000)
commit6b3b6072e078c999382e371d63bc6c8732394244
treef985311e0cd115b6310f7d4c5138e6409983e90f
parente3ad5aa68a3a8338c7ee27eaf0b45fa7e56841f4
hsa: Add multiple listeners support

It is desirable that http cli server can support multiple listeners.
This is needed for supporting both ip4 and ip6 at the same time.

Added the optional keyword listener add | del to the
http cli server command.

Example usage:  start ip4 default uri and then add ip6 uri
http cli server
http cli server uri http://2001::2/80 listener add

Type: improvement

Change-Id: I884a4cd64ff676f9759a062b6d607a1742f610f3
Signed-off-by: Steven Luong <[email protected]>
src/plugins/hs_apps/http_cli.c