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 e1cf534775 jwk: add export option to suppress final CRLF
https://github.com/warmcat/libwebsockets/issues/1746

Adding the final CRLF is a NOP at JSON level, but can disrupt hashing the
JSON if it isn't expecting it.

Add flags to the jwk export so it can be controlled... operation remains
unchanged for old values 0 and 1 but a second flag can be OR-ed to control
issue of final CRLF.
2019-11-04 13:49:13 +00:00
..
abstract abstract: existing connection compare 2019-10-10 16:34:37 +01:00
core windows: clean warnings around int usage 2019-10-23 06:39:35 +01:00
core-net unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
event-libs unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
jose jwk: add export option to suppress final CRLF 2019-11-04 13:49:13 +00:00
misc osx: needs sys/dirent.h 2019-11-04 13:49:13 +00:00
plat unix: sul schedule rename internal api and call regardless of existing timeout 2019-11-01 07:07:33 +00:00
roles clean: warning where uint32_t is long 2019-10-31 11:01:39 +00:00
system async dns: recursion 2019-10-13 11:55:59 +01:00
tls fix integer conversions from 64 bit 2019-10-27 16:29:04 +00:00
README.md JOSE: refactor and prepare for JWE 2018-12-27 06:45:31 +08: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/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/tls Code supporting the various TLS libraries
libwebsockets.h Public API header for the whole of lws