mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
openssl: defeat spin on failed accept
This commit is contained in:
parent
9ac452a87d
commit
4e9d13bf50
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ lws_server_socket_service_ssl(struct lws *wsi, lws_sockfd_type accept_fd)
|
|||
LWSSTATS_C_SSL_CONNECTIONS_FAILED, 1);
|
||||
lwsl_info("SSL_accept failed socket %u: %d\n",
|
||||
wsi->desc.sockfd, n);
|
||||
wsi->socket_is_permanently_unusable = 1;
|
||||
goto fail;
|
||||
|
||||
default: /* MORE_SERVICE */
|
||||
|
|
Loading…
Add table
Reference in a new issue