1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/lib/tls/openssl
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
..
lws-genaes.c cmakelist: Augean Stables refactor 2020-05-27 08:40:12 +01:00
lws-gencrypto.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
lws-genec.c windows: clean type warnings 2020-01-11 14:04:50 +00:00
lws-genhash.c cmake: disable export visibility when building lws static 2020-09-06 11:46:25 +01:00
lws-genrsa.c cleaning 2020-01-05 22:17:58 +00:00
openssl-client.c openssl: allow build with old glibc headers 2020-08-31 16:51:37 +01:00
openssl-server.c fakewsi: replace with smaller substructure 2020-07-20 06:28:52 +01:00
openssl-ssl.c lws_lifecycle 2021-01-04 05:26:50 +00:00
openssl-tls.c private.h: rename to contain dir 2019-08-15 10:49:52 +01:00
openssl-x509.c mingw: fix for different sockfd type in udp example 2020-06-06 15:53:58 +01:00
private-lib-tls-openssl.h semmle: fix warnings 2019-09-22 09:35:07 -07:00