1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/plat/unix
Andy Green 286cf4357a sul: multiple timer domains
Adapt the pt sul owner list to be an array, and define two different lists,
one that acts like before and is the default for existing users, and another
that has the ability to cooperate with systemwide suspend to restrict the
interval spent suspended so that it will wake in time for the earliest
thing on this wake-suspend sul list.

Clean the api a bit and add lws_sul_cancel() that only needs the sul as the
argument.

Add a flag for client creation info to indicate that this client connection
is important enough that, eg, validity checking it to detect silently dead
connections should go on the wake-suspend sul list.  That flag is exposed in
secure streams policy so it can be added to a streamtype with
"swake_validity": true

Deprecate out the old vhost timer stuff that predates sul.  Add a flag
LWS_WITH_DEPRECATED_THINGS in cmake so users can get it back temporarily
before it will be removed in a v4.2.

Adapt all remaining in-tree users of it to use explicit suls.
2020-06-02 08:37:10 +01:00
..
android cleaning 2020-01-05 22:17:58 +00:00
CMakeLists.txt cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
private-lib-plat-unix.h lws_spawn: windows 2020-04-13 19:29:09 +01:00
unix-caps.c _GNU_SOURCE: only define if not already defined 2019-12-22 18:17:45 +00:00
unix-fds.c CTest: migrate and deprecate existing selftest scripts 2020-05-11 15:40:13 +01:00
unix-file.c _GNU_SOURCE: only define if not already defined 2019-12-22 18:17:45 +00:00
unix-init.c sul: multiple timer domains 2020-06-02 08:37:10 +01:00
unix-misc.c lws_get_random: change length to size_t for coverity 2020-01-11 07:58:37 +00:00
unix-pipe.c unix plat: use eventfd in place of pipe where possible 2020-02-21 17:32:41 +00:00
unix-plugins.c coverity: fixes plugin error path leak and logging method sign check 2020-01-14 08:23:25 +00:00
unix-resolv.c ntpclient: add plat-specific init with env var LWS_NTP_SERVER able to set it on unix and windows 2020-04-25 15:11:21 +01:00
unix-service.c sul: multiple timer domains 2020-06-02 08:37:10 +01:00
unix-sockets.c iOS: detect and avoid net/route.h 2020-04-23 06:30:11 +01:00
unix-spawn.c sul: multiple timer domains 2020-06-02 08:37:10 +01:00