1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lwsws
Andy Green 54a38e76f2 lwsws conf and plugins convert to libuv apis
After discussion here

https://libwebsockets.org/pipermail/libwebsockets/2016-April/002268.html

scandir usage in

 - lwsws conf.c
 - lws plugin support

and

 - lws plugin apis for dl

are converted to us libuv apis so they can work cross-platform easily.

lws itself remains not requiring libuv, although it's an option.

 - LWS_WITH_LWSWS
 - LWS_WITH_PLUGINS

now force LWS_WITH_LIBUV if selected... both of these are new features
only in master atm and both are off by default in CMake.

There's a complication libuv can be too old to offer the necessary apis,
this is the case in Travis Trusty instance.  In that case, UV_VERSION_MAJOR ==0,
then the unix-only plugin implementation is used instead.

Signed-off-by: Andy Green <andy@warmcat.com>
2016-04-09 07:22:40 +08:00
..
conf.c lwsws conf and plugins convert to libuv apis 2016-04-09 07:22:40 +08:00
etc-lwsws-conf-EXAMPLE plugins 2016-04-07 09:38:08 +08:00
etc-lwsws-conf.d-libwebsockets.org-EXAMPLE plugins 2016-04-07 09:38:08 +08:00
http.c plugins 2016-04-07 09:38:08 +08:00
lejp.c lwsws protocol filter and options 2016-04-08 16:13:14 +08:00
lejp.h lwsws protocol filter and options 2016-04-08 16:13:14 +08:00
lwsws.h lwsws Libwebsockets Web Server 2016-03-28 10:49:57 +08:00
main.c plugins 2016-04-07 09:38:08 +08:00