1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/core-net
Andy Green bce1f01370 lws_state and system state
Introduce a generic lws_state object with notification handlers
that may be registered in a chain.

Implement one of those in the context to manage the "system state".

Allow other pieces of lws and user code to register notification
handlers on a context list.  Handlers can object to or take over
responsibility to move forward and retry system state changes if
they know that some dependent action must succeed first.

For example if the system time is invalid, we cannot move on to
a state where anything can do tls until that has been corrected.
2019-09-22 09:35:07 -07:00
..
adopt.c lws_state and system state 2019-09-22 09:35:07 -07:00
client.c client: make external http proxying optional 2019-08-26 09:58:57 +01:00
close.c lws_state and system state 2019-09-22 09:35:07 -07:00
connect.c lws_state and system state 2019-09-22 09:35:07 -07:00
detailed-latency.c detailed latency stats 2019-09-22 03:06:59 -07:00
dummy-callback.c fixes: various small fixes 2019-09-22 03:08:36 -07:00
lws-dsh.c Coverity fixes 2019-08-19 10:12:20 +01:00
network.c lws_state and system state 2019-09-22 09:35:07 -07:00
output.c detailed latency stats 2019-09-22 03:06:59 -07:00
pollfd.c detailed latency stats 2019-09-22 03:06:59 -07:00
private-lib-core-net.h lws_state and system state 2019-09-22 09:35:07 -07: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 sul_compare: prevent integer overflow bug 2019-09-06 15:30:51 +01:00
state.c lws_state and system state 2019-09-22 09:35:07 -07:00
stats.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
vhost.c lws_state and system state 2019-09-22 09:35:07 -07:00
wsi-timeout.c lws_validity: unified connection validity tracking 2019-09-22 09:35:07 -07:00
wsi.c h2: unify immortal stream tracking across SSE and ws substreams 2019-09-22 03:08:36 -07:00