libwebsockets/lib/core
Andy Green d4820ef5db cao: Connection Attempt Object
Wrap struct lws_conmon into an lws_cao_t, and give that its own lifecycle
distinct from any wsi.

Conmon contains what we want, but it was composed into the wsi and so had
to follow its single wsi's lifecycle.

Let's give it its own lifecycle independent of the wsi it happened to be
born for, and wrap it with an lws_cao_t that can contain private things.
We can still present the lws_conmon_t unchanged to the public apis that
expect it.

Client wsi with the connection have at least one CAO, the HEAD CAO is taken
as the active one for a wsi, it may acquire other "losing" CAOs as it goes
along.

desc moves into this new CAO, it's a bit messy because only client
connections have CAOs, but server connections and listeners have desc.  So
we have a .desc in the wsi still for that, and desc in the CAO for client,
and new helpers to take care of which to use.
2022-05-16 16:49:39 +01:00
..
alloc.c lhp: add DLO layout support 2022-05-04 08:43:26 +01:00
buflist.c lws_flow helpers 2022-02-22 14:37:31 +00:00
CMakeLists.txt sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
context.c cao: Connection Attempt Object 2022-05-16 16:49:39 +01:00
libwebsockets.c http: lws_http_rel_to_url 2022-05-04 08:43:26 +01:00
logs.c logs: freertos adds free heap to all logs 2022-03-25 08:18:29 +00:00
lws_dll2.c cao: Connection Attempt Object 2022-05-16 16:49:39 +01:00
lws_map.c lws_map 2021-08-21 17:44:40 +01:00
private-lib-core.h threadpool: improve relationship with LWS_HAVE_PTHREAD_H 2022-04-11 06:53:47 +01:00
vfs.c file_ops: vfs: support prefix matches and use of bound ops members 2022-03-15 10:28:09 +00:00