1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core-net/client
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
..
client.c logs: more internal conversion to log_cx 2021-07-01 05:20:53 +01:00
conmon.c sspc: refactor to allow different transports 2021-10-08 09:48:41 +01:00
connect.c client: connect: prefer default vh if none given 2021-10-05 07:40:17 +01:00
connect2.c asyncdns: provide correct length with CCE 2021-10-05 07:10:10 +01:00
connect3.c client: connections: add detailed dynamic CCE info 2021-08-19 05:31:15 +01:00
connect4.c sspc: add concurrency stress 2021-07-04 10:29:52 +01:00
sort-dns.c logs: more internal conversion to log_cx 2021-07-01 05:20:53 +01:00