-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
int
lws_tls_restrict_borrow(struct lws *wsi)
{
struct lws_context *cx = wsi->a.context;
if (cx->simultaneous_ssl_restriction &&
cx->simultaneous_ssl >= cx->simultaneous_ssl_restriction) {
lwsl_notice("%s: tls connection limit %d\n", __func__,
cx->simultaneous_ssl);
return 1;
}
if (cx->simultaneous_ssl_handshake_restriction &&
cx->simultaneous_ssl_handshake >=
cx->simultaneous_ssl_handshake_restriction) {
lwsl_notice("%s: tls handshake limit %d\n", __func__,
cx->simultaneous_ssl);
return 1;
}
Inside second check into lwsl_notice passed simultaneous_ssl, but must be passed simultaneous_ssl_handshake
Metadata
Metadata
Assignees
Labels
No labels