1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/tls/mbedtls
Bing Zhao 74799161b1 tls: fix inbalanced tls restrict borrow/return calls
lws_tls_restrict_borrow() returns error when tls restriction limit is
reached. However lws_ssl_close() still calls lws_tls_restrict_return()
to decrease simultaneous_ssl. Thus LWS accepts more than allowed ssl
links, making simultaneous_ssl_restriction useless.

Fix it by tracking lws_tls_restrict_borrow() return value and only
calling lws_tls_restrict_return() if lws_tls_restrict_borrow() is
successful.
2021-07-08 06:22:47 +01:00
..
wrapper tls: JIT Trust 2021-06-22 15:55:29 +01:00
CMakeLists.txt windows: for data exports use explicit extern 2020-06-07 07:53:36 +01:00
lws-genaes.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-gencrypto.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-genec.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-genhash.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-genrsa.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
mbedtls-client.c tls: JIT Trust 2021-06-22 15:55:29 +01:00
mbedtls-extensions.c Wextra 2021-07-04 10:29:54 +01:00
mbedtls-server.c mbedtls: server: enforce client cert check when vhost requires 2021-05-23 14:58:07 +01:00
mbedtls-session.c tls: client: session cache synthetic cb 2021-04-29 20:03:41 +01:00
mbedtls-ssl.c tls: fix inbalanced tls restrict borrow/return calls 2021-07-08 06:22:47 +01:00
mbedtls-tls.c logs: introduce log_cx 2021-07-01 05:20:53 +01:00
mbedtls-x509.c mbedtls: add AKID and SKID support 2021-06-22 15:55:29 +01:00
private-lib-tls-mbedtls.h mbedtls: add AKID and SKID support 2021-06-22 15:55:29 +01:00