1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib
Andy Green 19ba1998fa tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction
This patch adapts the recent change about serializing the number of
simultaneous tls handshakes allowed to 1, so you can set the number in the
context creation info, and the accounting for it is handled by counters
same as the overally tls restriction.

The name of the context info var to control it changes to simultaneous_ssl_handshake_restriction
which is now a count, the default 0 means no limit.

The count rejects tls connection attempts when the tls borrow is attempted,
and separately hands back the hs borrow from the tls borrow when the
connection attempt fails or succeeds.
2021-10-05 07:40:17 +01:00
..
abstract license: fix two old headers from pre-MIT change 2021-05-04 18:33:36 +01:00
core tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
core-net tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
cose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
drivers drivers: spi: avoid leaking uninitialized bits 2021-04-15 17:41:53 +01:00
event-libs service: assert on thread shenanigans 2021-08-13 05:25:01 +01:00
jose cose: keys and signing + validation 2021-08-31 05:45:35 +01:00
misc ss: policy: unwind after policy syntax errors cleanly 2021-10-05 07:40:17 +01:00
plat esp32c3 2021-08-31 05:45:40 +01:00
roles mqtt: allow indicating client_id is not on heap 2021-10-05 07:09:47 +01:00
secure-streams ss: policy: unwind after policy syntax errors cleanly 2021-10-05 07:40:17 +01:00
system conmon: async-dns: off-by-one 2021-10-05 07:09:55 +01:00
tls tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
CMakeLists.txt Subject: [PATCH] cmake: Install pkgconfig files in mingw 2021-09-09 07:27:31 +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