1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib
Andy Green 704eaa5e63 ss: allow streamtype policy overlays
Make the policy load apis public with an extra argument that says if you want the
JSON to overlay on an existing policy rather than replace it.

Teach the stream type parser stuff to realize it already has an entry for the
stream type and to modify that rather than create a second one, allowing overlays
to modify stream types.

Add --force-portal and --force-no-internet flags to minimal-secure-streams and
use the new policy overlay stuff to force the policy for captive portal detection
to feel that there is one or that there's no internet.
2020-03-14 17:04:43 +00:00
..
abstract cleaning 2020-01-05 22:17:58 +00:00
core ss: allow streamtype policy overlays 2020-03-14 17:04:43 +00:00
core-net captive portal 2020-03-11 12:44:01 +00:00
event-libs event libs: context_destroy sequencing 2020-03-10 19:13:43 +00:00
jose jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
misc fsmount: delete session dir on mount 2020-03-05 14:12:24 +00:00
plat freertos: forward-port lwip version adaptations 2020-03-04 12:17:49 +00:00
roles captive portal 2020-03-11 12:44:01 +00:00
secure-streams ss: allow streamtype policy overlays 2020-03-14 17:04:43 +00:00
system client: secure streams 2020-03-04 12:17:49 +00:00
tls build: release mode compile fixes 2020-03-10 06:45:24 +00:00
README.md cleaning 2020-01-05 22:17:58 +00:00

Library sources layout

Code that goes in the libwebsockets library itself lives down ./lib

Path Sources
lib/core Core lws code related to generic fd and wsi servicing and management
lib/core-net Core lws code that applies only if networking enabled
lib/event-libs Code containing optional event-lib specific adaptations
lib/jose JOSE / JWS / JWK / JWE implementations
lib/misc Code for various mostly optional miscellaneous features
lib/plat Platform-specific adaptation code
lib/roles Code for specific optional wsi roles, eg, http/1, h2, ws, raw, etc
lib/system Code for system-level features, eg, dhcpclient
lib/tls Code supporting the various TLS libraries