1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Bing Zhao bae99f63a3 tls: add option to serialize ssl handshake
This is useful for memory constrained systems such as esp32
to improve heap usage minfree/watermark.

On esp32 with simultaneous_ssl_restriction = 2 (MQTT+H1),
Without this change, sys heap minfree ranges from 59k to 71k
  in 100 iterations, average 66.5k.
With this change, sys heap minfree ranges from 64k to 71k
  in 100 interations, average 68.7k
2021-07-07 08:49:36 +01:00
..
abstract license: fix two old headers from pre-MIT change 2021-05-04 18:35:00 +01:00
core tls: add option to serialize ssl handshake 2021-07-07 08:49:36 +01:00
core-net tls: fix inbalanced tls restrict borrow/return calls 2021-07-07 08:47:37 +01:00
drivers drivers: spi: avoid leaking uninitialized bits 2021-04-15 17:41:53 +01:00
event-libs uloop 2021-03-17 12:23:34 +00:00
jose jwt: sign via info 2021-03-25 08:40:52 +00:00
misc getifaddrs: casts for android 2021-06-20 08:43:22 +01:00
plat freertos: check for forcing each time around service loop 2021-06-17 14:21:28 +01:00
roles raw-proxy: fix role bind flag 2021-07-07 08:46:14 +01:00
secure-streams dns: handle EAI_NONAME as fatal 2021-07-07 08:43:56 +01:00
system ss: proxy: fix conn deref on onward 2021-04-21 19:31:45 +01:00
tls tls: add option to serialize ssl handshake 2021-07-07 08:49:36 +01:00
CMakeLists.txt cmake: enable user cmake to use FetchContent on lws 2021-04-15 17:41:34 +01: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