1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/minimal-examples/secure-streams
Andy Green dd3bae8c71 ss: multipart without processing
Change the default to not process multipart mime at SS layer.

If it's desired, then set "http_multipart_ss_in" true in the policy on the streamtype.

To test, use lws-minimal-secure-streams-avs, which uses SS processing as it is.

To check it without the processing, change #if 1 to #if 0 around the policy for
"http_multipart_ss_in" in both places in avs.c, and also enable the hexdump in ss_avs_metadata_rx()
also in avs.c, and observe the multipart framing is passed through unchanged.
2020-08-11 11:07:13 +01:00
..
minimal-secure-streams sspc: minimal examples: improve PROXY_API detection to work outside tree 2020-08-10 15:04:10 +01:00
minimal-secure-streams-alexa ss: multipart without processing 2020-08-11 11:07:13 +01:00
minimal-secure-streams-avs ss: multipart without processing 2020-08-11 11:07:13 +01:00
minimal-secure-streams-client-tx cmake: provide LIBWEBSOCKETS_DEP_LIBS in CONFIG 2020-06-16 19:45:35 +01:00
minimal-secure-streams-metadata sspc: minimal examples: improve PROXY_API detection to work outside tree 2020-08-10 15:04:10 +01:00
minimal-secure-streams-policy2c ss: server: h1, h2, ws basic support 2020-07-27 12:05:24 +01:00
minimal-secure-streams-post sspc: minimal examples: improve PROXY_API detection to work outside tree 2020-08-10 15:04:10 +01:00
minimal-secure-streams-proxy lws_smd: system message distribution 2020-06-27 07:57:22 +01:00
minimal-secure-streams-seq cmake: provide LIBWEBSOCKETS_DEP_LIBS in CONFIG 2020-06-16 19:45:35 +01:00
minimal-secure-streams-server ss: multipart without processing 2020-08-11 11:07:13 +01:00
minimal-secure-streams-server-raw ss-server-raw 2020-07-28 09:21:45 +01:00
minimal-secure-streams-smd sspc: minimal examples: improve PROXY_API detection to work outside tree 2020-08-10 15:04:10 +01:00
minimal-secure-streams-staticpolicy ss: static policy: dynamic vhost instantiation 2020-07-21 12:43:32 +01:00
README.md client: secure streams 2020-03-04 12:17:49 +00:00

Secure Streams

Secure Streams is a client API that strictly decouples the policy for connections from the payloads. The user code only deals with the stream type name and payloads, a policy database set at lws_context creation time decides all policy about the connection, including the endpoint, tls CA, and even the wire protocol.

name demonstrates
minimal-secure-streams Minimal secure streams client / proxy example
minimal-secure-streams-tx Proxy used for client-tx test below
minimal-secure-streams-client-tx Secure streams client showing tx and rx