1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/plugins
Andy Green 0ceba15d9c lws_lifecycle
This adds some new objects and helpers for keeping and logging
info on grouped allocations, a group is, eg, SS handles or client
wsis.

Allocated objects get a context-unique "tag" string intended to replace
%p / wsi pointers etc.  Pointers quickly become confusing when
allocations are freed and reused, the tag string won't repeat
until you produce 2^64 objects in a context.

In addition the tag string documents the object group, with prefixes
like "wsi-" or "vh-" and contain object-specific additional
information like the vhost name, address / port  or the role of the wsi.
At creation time the lws code can use a format string and args
to add whatever group-specific info makes sense, eg, a wsi bound
to a secure stream can also append the guid of the secure stream,
it's copied into the new object tag and so is still available
cleanly after the stream is destroyed if the wsi outlives it.
2021-01-04 05:26:50 +00:00
..
acme-client plugins: generalize and provide public api 2020-08-31 16:51:37 +01:00
deaddrop plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
raw-proxy plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
ssh-base plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
CMakeLists.txt cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
lwsws-logo.png http cache policy 2016-04-22 08:53:49 +08:00
protocol_client_loopback_test.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_dumb_increment.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_fulltext_demo.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_lws_mirror.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_lws_raw_test.c plugins: more explicit header inclusion 2020-10-26 11:24:21 +00:00
protocol_lws_server_status.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_lws_sshd_demo.c plugins: more explicit header inclusion 2020-10-26 11:24:21 +00:00
protocol_lws_status.c plugins: use new export symbol convention 2020-10-09 21:30:49 +01:00
protocol_post_demo.c lws_lifecycle 2021-01-04 05:26:50 +00:00
server-status.css server-status: add proc statm and switch to vhost protocol timer 2019-03-10 08:02:02 +08:00
server-status.html test-app: upgrade test.html to have separate css and js for CSP 2018-09-11 18:27:59 +08:00
server-status.js semmle: fix warnings 2019-09-22 09:35:07 -07:00