afb-hsrv: Prepare selection of listening interfaces 47/18747/2
authorJose Bollo <jose.bollo@iot.bzh>
Tue, 30 Oct 2018 13:31:33 +0000 (14:31 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 13 Dec 2018 10:47:50 +0000 (10:47 +0000)
commitc31411aaba6c8bd04f68bfdb1f042d018e677790
tree4f460d9bc14b95cc728507368c235c298f855e6e
parent2703a6bd8611726fa61118bf9c68a6e2ea0b9b22
afb-hsrv: Prepare selection of listening interfaces

The listening socket will no more be the default one
but will be the selected ones, with ability to select
more than just one listening interface.

Nevertheless, the behavior is not changed at the moment.
The default interface (0.0.0.0) is still used. A further
change will add the ability to select the listening
interfaces.

That evolution depends on a fix of libmicrohttpd to
enable at the same time epoll and no-listen-fd.

Bug-AGL: SPEC-1833
Bug-AGL: SPEC-1016

Change-Id: Ia78671cbee90a243ba7b2c724b6155cffbde6920
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afb-hsrv.c
src/afb-hsrv.h
src/main-afb-daemon.c
src/main-afs-supervisor.c