1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/plat/windows
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
..
CMakeLists.txt mingw: libevent build fixes 2020-11-28 10:58:38 +00:00
private-lib-plat-windows.h windows: build fixes 2020-09-30 06:42:09 +01:00
windows-fds.c client: allow setting overall connect timeout from vh init 2020-05-26 17:05:39 +01:00
windows-file.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
windows-init.c windows: fix WSA event destruction 2020-10-09 06:53:44 +01:00
windows-misc.c esp32-wrover-kit 2020-06-30 19:35:41 +01:00
windows-pipe.c context: refactor destroy flow 2020-11-28 10:58:38 +00:00
windows-plugins.c lws_plugins 2020-08-31 16:51:37 +01:00
windows-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
windows-service.c lws_lifecycle 2021-01-04 05:26:50 +00:00
windows-sockets.c windows: WSA loop fixes 2020-10-08 14:52:54 +01:00
windows-spawn.c lws_lifecycle 2021-01-04 05:26:50 +00:00