1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/misc
Andy Green 2cfa260e62 sspc: refactor to allow different transports
This is a NOP for existing usecases.

At the moment the only implemented transport for serialized SS is wsi, it's
typically used with Unix Domain Sockets, but it also works over tcp the
same.

It generalizes the interface between serialized chunks and the
transport, separately for client and proxy.  The wsi transport is migrated
to use the new transport ops structs.

It will then be possible to "bring your own transport", so long as it is
reliable, and in-order, both for proxy and client / sspc.

We also adapt minimal-secure-streams-binance to build the -client variant
via SS proxy as well.

LWS_ONLY_SSPC is added so libwebsockets can be produced with just sspc
client support even for tiny targets.

A new embedded minimal example for rpi pico is also provided that
demonstrates using Serialized SS over a UART to an SS proxy, to implement
the SS Binance example on the pico, even though it has no networking itself.
2021-10-08 09:48:41 +01:00
..
cache-ttl http: cookies: support cookie jar in and out 2021-08-21 17:44:40 +01:00
fts type comparisons: fixes 2021-01-05 10:56:38 +00:00
lwsac type comparisons: fixes 2021-01-05 10:56:38 +00:00
threadpool threadpool: SYNC timeout on netbsdBE 2021-10-05 07:40:16 +01:00
base64-decode.c b64: add downcasts for gcc 4.4 2021-07-23 04:22:15 +01:00
CMakeLists.txt sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
daemonize.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
dir.c uloop 2021-03-17 12:23:34 +00:00
diskcache.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
fsmount.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
getifaddrs.c getifaddrs: casts for android 2021-06-20 08:40:00 +01:00
getifaddrs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
ieeehalfprecision.c lecp: add CBOR stream parser LECP like JSON LEJP 2021-08-21 17:44:40 +01:00
lecp.c sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
lejp.c ss: policy: unwind after policy syntax errors cleanly 2021-10-05 07:40:17 +01:00
lws-ring.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-struct-lejp.c lws_struct: add CHILD_PTR setting 2021-08-19 05:31:15 +01:00
lws-struct-sqlite.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
peer-limits.c peer-limits: only run clean up sul if any entries 2021-01-17 19:23:48 +00:00
prng.c Fault injection 2021-04-05 10:55:04 +01:00
romfs.c linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
romfs.h refactor: subdirs for source in lib 2017-10-16 17:28:37 +08:00
sha-1.c type comparisons: fixes 2021-01-05 10:56:38 +00:00