1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core-net
Andy Green 08fac7a1f7 unix: sul schedule rename internal api and call regardless of existing timeout
Pre-sul, checking for interval to next pending scheduled event was expensive and
iterative, so the service avoided it if the wait was already 0.

With sul though, the internal "check" function also services ripe events and
removes them, and finding the interval to the next one is really cheap.

Rename the "check" function to __lws_sul_service_ripe() to make it clear it's
not just about returning the interval to the next pending one.  And call it
regardless of if we already decided we are not going to wait in the poll.

After https://github.com/warmcat/libwebsockets/pull/1745
2019-11-01 07:07:33 +00:00
..
adopt.c adopt: improve logging of server adopt fail 2019-10-14 07:08:57 +01:00
client.c client: make external http proxying optional 2019-08-26 09:58:57 +01:00
close.c LWS_WITH_UDP 2019-10-12 12:41:14 +01:00
connect.c wsi flags: extra encodings 2019-10-12 12:41:14 +01:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c wsproxy: decrement client rx buflist size at server side tx 2019-10-28 13:20:45 +00:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c adopt: improve logging of server adopt fail 2019-10-14 07:08:57 +01:00
output.c LWS_WITH_UDP 2019-10-12 12:41:14 +01:00
pollfd.c detailed latency stats 2019-09-22 03:06:59 -07:00
private-lib-core-net.h unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
sequencer.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
server.c fixes: various small fixes 2019-09-22 03:08:36 -07:00
service.c lws_state and system state 2019-09-22 09:35:07 -07:00
sorted-usec-list.c unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
state.c wsi flags: extra encodings 2019-10-12 12:41:14 +01:00
stats.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
vhost.c coverity: use function comments to clear false positives 2019-10-12 12:41:14 +01:00
wsi-timeout.c sul: more paranoid casting vs libc header types 2019-10-27 06:22:13 +00:00
wsi.c lws_get_tsi 2019-10-29 09:14:42 +00:00