mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() Previously down network interfaces without an IPv4 address are removed from the posix api that lists network interfaces. That means if you bound a vhost listen socket to a particular interface, it will fail at startup time. This patch adds these vhosts to a list, starts the vhost without a listen socket, and checks to see if the vhost's network interface has appeared while the rest of lws is running. If it appears, the listen socket is opened on the network interface and the vhost becomes reachable. |
||
---|---|---|
.. | ||
client | ||
event-libs | ||
ext | ||
http2 | ||
jws | ||
misc | ||
plat | ||
server | ||
tls | ||
alloc.c | ||
context.c | ||
handshake.c | ||
header.c | ||
lextable-strings.h | ||
lextable.h | ||
libwebsockets.c | ||
libwebsockets.h | ||
minilex.c | ||
output.c | ||
pollfd.c | ||
private-libwebsockets.h | ||
service.c |