1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/tls
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
..
mbedtls tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
openssl tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
CMakeLists.txt wolfssl: update gencrypto 2021-09-08 09:42:11 +01:00
lws-gencrypto-common.c Wextra 2021-07-04 10:29:54 +01:00
lws-genec-common.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
private-jit-trust.h tls: JIT Trust 2021-06-22 15:55:29 +01:00
private-lib-tls.h tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
private-network.h tls: JIT Trust 2021-06-22 15:55:29 +01:00
tls-client.c tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
tls-jit-trust.c tls: JIT Trust 2021-06-22 15:55:29 +01:00
tls-network.c tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
tls-server.c tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00
tls-sessions.c tls-sessions: remove no stash warning 2021-06-24 06:31:39 +01:00
tls.c tls: evolve handshake serialization into simultaneous_ssl_handshake_restriction 2021-10-05 07:40:17 +01:00